Document and verify runtime glossary workflows
This commit is contained in:
@@ -19,6 +19,14 @@ Supplying a configuration path also makes file selection predictable. Configured
|
||||
secrets bootstrap can populate the child environment before the shared load;
|
||||
see [configuration](../config.md#loading-and-composition).
|
||||
|
||||
For prepared vocabulary, write one or more wrapperless collection files and
|
||||
pass each path as a separate `--glossary-file` argument. Select the main
|
||||
configuration and overlay that define the desired pipeline and collection
|
||||
selections; supplying files does not select them. The same arguments can be
|
||||
used to inspect the effective configuration before processing. See the
|
||||
[input format](transcript-glossary-files.md#glossary-collections) and
|
||||
[CLI reference](../cli.md#processing) for composition and error outcomes.
|
||||
|
||||
Choose a trusted configuration bundle. An explicit main path still allows
|
||||
its configured imports and automatic overlay, glossary, and prompt companions.
|
||||
Without a main path, Audita uses the configured discovery locations. The
|
||||
|
||||
@@ -36,3 +36,23 @@ The [local example](../../examples/local/glossary.yml) provides a complete
|
||||
collection. Configuration may contain empty collections; processing preflight
|
||||
requires every glossary-correction entry to select at least one glossary entry.
|
||||
The previous standalone `glossary` file format is not a processing input.
|
||||
|
||||
Runtime files supplied with `--glossary-file` are YAML mappings keyed directly
|
||||
by collection name, without a `glossary_collections` wrapper. Each collection
|
||||
may contain `instruction` and `entries`; entries retain additional fields as
|
||||
extensions. For example:
|
||||
|
||||
```yaml
|
||||
people:
|
||||
instruction: Prefer the speaker's stated name when supported by context.
|
||||
entries:
|
||||
- id: speaker
|
||||
name: Mira Chen
|
||||
category: person
|
||||
aliases: [Mira]
|
||||
source_note: Prepared for this recording
|
||||
```
|
||||
|
||||
See the [complete runtime glossary example](../../examples/README.md#runtime-glossary-input)
|
||||
and [composition and selection rules](../config.md#loading-and-composition).
|
||||
Files and their imports are protected by the existing output collision checks.
|
||||
|
||||
Reference in New Issue
Block a user