mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Make attributes optional in the knowledge graph model
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user