I’m building a multi-agent system in Chainlit that utilizes GPT-4o to dynamically decide if a user’s query should be answered using a MySQL database or a datasource of PDFs. The MySQL database has multiple tables, requiring the system to identify relevant data, query it efficiently, and summarize it based on the user’s intent. For the PDF datasource, I’m implementing a RAG agent that fetches the most relevant content and uses OpenAI APIs to generate a concise summary. I’m looking for guidance on designing the architecture, managing decision-making between agents, and optimizing the summarization pipeline for both data sources.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Creating a RAG solution from a SQL DB with Summarization | 3 | 827 | November 21, 2024 | |
Standard RAG + Agent Solution | 2 | 5056 | October 26, 2023 | |
Assistance Needed for Querying Multiple Databases with OpenAI API | 0 | 416 | May 7, 2024 | |
what should use to bulid Saas for chating with static 50K document's , Chatgpt Api ? or Langchain ? or lamaindex ? | 4 | 941 | February 5, 2024 | |
Developing a Custom QA Chatbot: Challenges with Training GPT-3.5-Turbo and Exploring Alternative Models and Libraries | 0 | 1404 | November 24, 2023 |