AqaOutput#

class langchain_google_genai.genai_aqa.AqaOutput[source]#

Bases: BaseModel

Output from GenAIAqa.invoke.

answer#

The answer to the user’s inquiry.

attributed_passages#

A list of passages that the LLM used to construct the answer.

answerable_probability#

The probability of the question being answered from the provided passages.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param answer: str [Required]#
param answerable_probability: float [Required]#
param attributed_passages: List[str] [Required]#