Skip to content

Commit

Permalink
Update validation requirements for online searches
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaimran committed Dec 8, 2024
1 parent 6940c63 commit efa23a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/khoj/database/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ class WebPage(PydanticBaseModel):


class AnswerBox(PydanticBaseModel):
link: str
snippet: str
link: Optional[str] = None
snippet: Optional[str] = None
title: str
snippetHighlighted: List[str]


class PeopleAlsoAsk(PydanticBaseModel):
link: str
question: str
snippet: str
link: Optional[str] = None
question: Optional[str] = None
snippet: Optional[str] = None
title: str


Expand Down

0 comments on commit efa23a8

Please sign in to comment.