Make attributes optional in the knowledge graph model

This commit is contained in:
sabaimran 2024-12-08 12:23:17 -08:00
parent 2af687d1c5
commit 7cd2855146

View file

@ -64,7 +64,7 @@ class PeopleAlsoAsk(PydanticBaseModel):
class KnowledgeGraph(PydanticBaseModel):
attributes: Dict[str, str]
attributes: Optional[Dict[str, str]] = None
description: Optional[str] = None
descriptionLink: Optional[str] = None
descriptionSource: Optional[str] = None