langchain_google_genai.genai_aqa
.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 if the input data cannot be parsed to form a valid model.
- param answer: str [Required]¶
- param answerable_probability: float [Required]¶
- param attributed_passages: List[str] [Required]¶