haive.agents.rag.simple.answer_agent ==================================== .. py:module:: haive.agents.rag.simple.answer_agent .. autoapi-nested-parse:: Answer Agent for RAG - SimpleAgent with document context prompt. Classes ------- .. autoapisummary:: haive.agents.rag.simple.answer_agent.AnswerAgent Module Contents --------------- .. py:class:: AnswerAgent(/, **data) Bases: :py:obj:`haive.agents.simple.agent.SimpleAgent` SimpleAgent configured for answering questions based on retrieved documents. 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.