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 if the input data cannot be parsed to form a valid model.

param prompt: str [Required]#
param source_passages: List[str] [Required]#