Autonomous-HybridRAG-AI-Agent 🤖🌐🧠 is an intelligent assistant designed to efficiently handle user queries by leveraging various sources of information in a specific order. It combines memory, history, provided context, and web search to deliver accurate and relevant responses.
-
Memory Search 🧠
- Stores chat history in a database to facilitate long-term conversations.
-
Knowledge Base 📚
- Stores information in a vector database, providing business context to the assistant.
-
Contextual Search 🔍
- Searches the provided context for relevant information before resorting to web searches.
-
Web Search 🌐
- Utilizes DuckDuckGo for web searches when information is not found in the memory, history, or context.
-
Setup Assistant ⚙️
- Configure the assistant with the desired LLM (Language Learning Model) and connect to the PostgreSQL database.
-
Add Documents 📄
- Add documents to the knowledge base using the assistant’s document reading capabilities.
-
Query Assistant ❓
- Query the assistant and receive responses based on the aggregated search from memory, knowledge base, context, and web search.
- The code setup includes:
- Initialization of the assistant.
- Document reading and addition to the knowledge base.
- Query execution and response generation.
Name | GitHub | Kaggle | ||
---|---|---|---|---|
Mustafa Shoukat | mustafashoukat.ai@gmail.com |