Skip to content

CodeWithCharan/AI-Blog-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agentic RAG with LangGraph: AI Blog Search

Overview

AI Blog Search is an Agentic RAG application designed to enhance information retrieval from AI-related blog posts. This system leverages LangChain, LangGraph, and Google's Gemini model to fetch, process, and analyze blog content, providing users with accurate and contextually relevant answers.

LangGraph Workflow

Demo

AI-Blog-Search-Demo-Update.mp4

Features

  • Document Retrieval: Uses Qdrant as a vector database to store and retrieve blog content based on embeddings.
  • Agentic Query Processing: Uses an AI-powered agent to determine whether a query should be rewritten, answered, or require more retrieval.
  • Relevance Assessment: Implements an automated relevance grading system using Google's Gemini model.
  • Query Refinement: Enhances poorly structured queries for better retrieval results.
  • Streamlit UI: Provides a user-friendly interface for entering blog URLs, queries and retrieving insightful responses.
  • Graph-Based Workflow: Implements a structured state graph using LangGraph for efficient decision-making.

Technologies Used

Requirements

  1. Clone the Repository:

    git clone https://github.com/CodeWithCharan/AI-Blog-Search.git
    cd AI-Blog-Search
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Run the Application:

    streamlit run app.py
  4. Use the Application:

    • Paste your Google API Key in the sidebar.
    • Paste the blog link.
    • Enter your query about the blog post.

📫 Connect With Me

handshake gif

codewithcharan __mr.__.unique codewithcharan