haive.agents.rag.base.agent =========================== .. py:module:: haive.agents.rag.base.agent .. autoapi-nested-parse:: Base RAG Agent - retrieval-augmented generation. Uses OpenAI embeddings by default to avoid HuggingFace/CUDA issues. Classes ------- .. autoapisummary:: haive.agents.rag.base.agent.BaseRAGAgent Module Contents --------------- .. py:class:: BaseRAGAgent Bases: :py:obj:`haive.agents.base.agent.Agent` Base RAG agent that performs retrieval then answers. Uses OpenAI embeddings + FAISS vector store by default. Add documents via add_documents() before querying. .. py:method:: add_documents(documents) Add documents to the vector store for retrieval. .. py:method:: build_graph() Build: retrieve -> generate answer. .. py:method:: compile(**kwargs) Compile the RAG graph. .. py:method:: model_post_init(__context) Initialize the mixin with state tracking attributes after Pydantic validation.