Skip to content
YosoiDocs

Answer

yosoi.search.Answer

class Answer(ImmutableModel):

A provider-displayed answer with reported citation destinations.

Attributes: kind: Discriminator fixed to answer for tagged decoding. placement_index: One-based position among provider-page placements. text: Displayed answer text, without factual verification. citations: Validated citation destinations; their contents have not been fetched.

Source: python/yosoi/search.py:249

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

kind: Literal['answer']
placement_index: Rank
text: str = Field(repr=False)
citations: tuple[SearchResultUrl, ...] = Field(repr=False)