Skip to content

Commit

Permalink
Make attributes optional in the knowledge graph model
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Dec 8, 2024
1 parent 2af687d commit 7cd2855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/khoj/database/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cd2855

Please sign in to comment.