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): class AnswerBox(PydanticBaseModel):
link: str link: Optional[str] = None
snippet: str snippet: Optional[str] = None
title: str title: str
snippetHighlighted: List[str] snippetHighlighted: List[str]
class PeopleAlsoAsk(PydanticBaseModel): class PeopleAlsoAsk(PydanticBaseModel):
link: str link: Optional[str] = None
question: str question: Optional[str] = None
snippet: str snippet: Optional[str] = None
title: str title: str