ladygraph.yaml or in files it names. The code stays the same.
The extraction prompt: prompt:
The prompt is fixed, and a prompt: section fills in the domain wording. With no section, the default names no domain and no language (“You index documents.”). docs/prompt.example.yaml in the repository is a finance deployment’s version.
- A typo in a key is an error, not a setting that is silently ignored.
- An example that names a type the ontology does not have is left out with a warning, so the model is never shown a type it may not use.
- The text is inserted into the prompt and never run through
str.format, so braces in your wording are safe. - Concepts are stamped
llm-okf/<model>/p2, plus-<8 hex digits>when the config differs from the default, so a concept says which wording produced it.
load_prompt(path) reads the section, and LlmOkfExtractor(llm, prompt=...) takes it. Without the argument, the default is used.
The term list: glossary.yaml
The translator’s glossary lists source-language terms and the English the model must use. The term-list builder proposes entries, and a person approves them. The format is on Configure a project.
An entry carries optional metadata:
The gate enforces only
approved entries. A proposed entry is shown to the model as a hint and never rejects a translation, so a term nobody has read yet cannot break good output. Files without status behave as before.