Version: latest
agrag.ingestion.client_work.enrichment.validate_enrichment_output
validate_enrichment_output(kind:EnrichmentKind, output:dict[str, object]) -> str | None
Return why a client output is invalid for its kind, or None when valid.
Parameters:
- kind (
EnrichmentKind) – The enrichment kind the output answers. - output (
dict[str, object]) – The client's result body.