fix: make ontology key an optional param in cognify

This commit is contained in:
Igor Ilic 2025-12-12 20:02:06 +01:00
parent 127d9860df
commit 98c6931aa2

View file

@ -42,7 +42,9 @@ class CognifyPayloadDTO(InDTO):
default="", description="Custom prompt for entity extraction and graph generation" default="", description="Custom prompt for entity extraction and graph generation"
) )
ontology_key: Optional[List[str]] = Field( ontology_key: Optional[List[str]] = Field(
default=None, description="Reference to one or more previously uploaded ontologies" default=None,
examples=[[]],
description="Reference to one or more previously uploaded ontologies",
) )