Skip to content

Mustafa-Shoukat1/Autonomous-HybridRAG-AI-Agent

Repository files navigation

Autonomous-HybridRAG-AI-Agent 🤖🌐🧠

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.

image

Features 🌟

  1. Memory Search 🧠

    • Stores chat history in a database to facilitate long-term conversations.
  2. Knowledge Base 📚

    • Stores information in a vector database, providing business context to the assistant.
  3. Contextual Search 🔍

    • Searches the provided context for relevant information before resorting to web searches.
  4. Web Search 🌐

    • Utilizes DuckDuckGo for web searches when information is not found in the memory, history, or context.

Usage Instructions 📋

  1. Setup Assistant ⚙️

    • Configure the assistant with the desired LLM (Language Learning Model) and connect to the PostgreSQL database.
  2. Add Documents 📄

    • Add documents to the knowledge base using the assistant’s document reading capabilities.
  3. Query Assistant ❓

    • Query the assistant and receive responses based on the aggregated search from memory, knowledge base, context, and web search.

Code Overview 🖥️

  • The code setup includes:
    • Initialization of the assistant.
    • Document reading and addition to the knowledge base.
    • Query execution and response generation.

My Contact Information 📧

Name Email LinkedIn GitHub Kaggle
Mustafa Shoukat mustafashoukat.ai@gmail.com LinkedIn Badge GitHub Badge Kaggle Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published