mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 18:47:11 +00:00
Make attributes optional in the knowledge graph model
This commit is contained in:
parent
2af687d1c5
commit
7cd2855146
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue