mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-19 19:07:44 +00:00
Update validation requirements for online searches
This commit is contained in:
parent
6940c6379b
commit
efa23a8ad8
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue