Update validation requirements for online searches

This commit is contained in:
sabaimran 2024-12-08 11:30:17 -08:00
parent 6940c6379b
commit efa23a8ad8

View file

@ -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