Version: latest
agrag.common.schema_fingerprint.run_record
run_record(schema:GraphSchema, settings:ExtractionSettings, *, effective_mode:Literal['gliner', 'hybrid', 'llm'], llm_model:str | None, prompt_id:str | None, llm_output:LLMOutputSettings | None = None) -> RunRecord
Build the run record of a schema and a set of extraction settings.
Parameters:
- schema (
GraphSchema) – The schema of the run. - settings (
ExtractionSettings) – The extraction settings of the run. - effective_mode (
Literal['gliner', 'hybrid', 'llm']) – The mode the run uses after the degrade rule. - llm_model (
str | None) – The model name of the LLM slot, or None without an LLM. - prompt_id (
str | None) – The prompt identity of the LLM tier, or None without an LLM. - llm_output (
LLMOutputSettings | None) – The output options of the LLM slot, or None when the slot has none to report.
Returns:
RunRecord– The record with name, version and both fingerprints.