AqaInput#

class langchain_google_genai.genai_aqa.AqaInput[source]#

Bases: BaseModel

Input to GenAIAqa.invoke.

prompt#

The user’s inquiry.

source_passages#

A list of passage that the LLM should use only to answer the user’s inquiry.

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 prompt: str [Required]#
param source_passages: List[str] [Required]#