Additional Terms: No AI Training, version 1.0
SPDX-License-Identifier: LicenseRef-Mattioli-NoAI-Training-1.0

These terms are separate from the license in LICENSE, which is the PolyForm
Noncommercial License 1.0.0, unmodified. The licensor offers the software only
under that license and these terms together. By using, copying, modifying or
distributing the software you agree to both. Where the two differ, the
narrower permission applies.

1. No AI training or derived AI assets. Except as section 2 allows, and
   without a separate written license from the licensor, you may not use the
   software, its documentation, or any part of either:
   (a) as training, fine-tuning, or evaluation data, or other input used to
       build or improve any machine-learning or artificial-intelligence model,
       system, or dataset;
   (b) for model distillation;
   (c) to build automated code-generation models or tools trained on or
       derived from the software; or
   (d) to construct embeddings, indexes, or retrieval corpora derived from
       the software.
   This applies even to otherwise-permitted noncommercial use. It does not
   forbid evaluation that you run yourself under section 2, provided no
   model is trained or tuned on the software as a result.

2. Your own AI tools. If you use the software under the license in LICENSE,
   you may use AI tools, including coding assistants, chat assistants and
   agents, to read, explain, modify, or work with the software for your own
   permitted purpose. This includes any temporary embeddings or indexes the
   tool builds for that work, if those embeddings or indexes are not shared with others.
   This permission applies only if the tool's
   provider does not use the software, or anything derived from it, for any
   purpose in section 1. It is your responsibility to choose and configure the
   tool so that this holds.

3. Pass-through. If you distribute the software or work based on it, you must
   include these terms with it, as the license in LICENSE requires for lines
   beginning "Required Notice:".

4. Text and data mining reservation. The licensor reserves all text and data
   mining rights in the software, including under Article 4(3) of Directive
   (EU) 2019/790.

5. Ending. If you break section 1, your licenses under LICENSE end on the same
   terms as that license's Violations section. Curing a breach of section 1
   requires deleting every model, set of weights, embedding store, or index
   trained or built in breach.

Contact for commercial or AI-training licenses: https://github.com/domattioli
