Cookies

With your permission, we use Google Analytics cookies to measure visits and improve the site. Necessary cookies are always on. You can change your choice or withdraw consent anytime in the footer, under Cookie settings. Cookie Policy

Skip to content

RAG and Knowledge ·Intermediate

Agentic RAG with LangGraph: AI Blog Search

About this app

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.

  • Complete open-source code
  • Step-by-step tutorial

Technical sheet

Category
RAG and Knowledge
Difficulty
Intermediate
Models
Gemini
Frameworks
LangChain
Runs locally?
Needs cloud APIs
Required keys
None

License Apache-2.0 · content curated and maintained by Doutor AI.

Full tutorial

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

LangGraph-Workflow

Demo

https://github.com/user-attachments/assets/cee07380-d3dc-45f4-ad26-7d944ba9c32b

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. Install Dependencies:
pip install -r requirements.txt
  1. Run the Application:
streamlit run app.py
  1. Use the Application:
  • Paste your Google API Key in the sidebar.
  • Paste the blog link.
  • Enter your query about the blog post.

:mailbox: Connect With Me

<a href="https://linkedin.com/in/codewithcharan" target="blank"></a>

<a href="https://instagram.com/joyboy._.ig" target="blank"></a>

<a href="https://twitter.com/Joyboy_x_" target="blank"></a>

From the same category

RAG and KnowledgeIntermediate

Agentic RAG Embedding Gemma

This Streamlit app demonstrates an agentic Retrieval-Augmented Generation (RAG) Agent using Google's EmbeddingGemma for embeddings and Llama 3.2 as th…

  • Llama
  • local
RAG and KnowledgeIntermediate

Agentic RAG with GPT-5

An agentic RAG application built with the Agno framework, featuring GPT-5 and LanceDB for efficient knowledge retrieval and question answering.

  • OpenAI

Need a tailor-made solution?

Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.

Save hours every week with AI, no hassle

Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.

See plans