Skip to main content
Version: latest

agrag.common.data_models.evidence.FetchResult

Bases: BaseModel

The outcomes of one fetch call.

Attributes:

  • outcomes (list[FetchOutcome]) – One outcome for each fetched id, in the order given. A serving layer may drop trailing outcomes to stay within a size limit.
  • truncated (bool) – True when the serving layer dropped outcomes to stay within a size limit.

outcomes​

outcomes: list[FetchOutcome] = Field(default_factory=list)

truncated​

truncated: bool = False