sayed99's picture
project transferred to Langgraph implementation. |
4826e54

A newer version of the Gradio SDK is available: 6.2.0

Upgrade
metadata
title: AgenticRAG
emoji: 🌖
colorFrom: pink
colorTo: pink
sdk: gradio
sdk_version: 5.29.1
app_file: app.py
pinned: false
license: apache-2.0

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Agentic RAG with LangGraph

A simple agentic RAG system using LangGraph with Azure OpenAI.

Setup

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Create .env file in the project root:

    AZURE_OPENAI_ENDPOINT=your_azure_endpoint
    AZURE_OPENAI_API_KEY=your_api_key
    AZURE_OPENAI_DEPLOYMENT_NAME=your_deployment_name
    AZURE_OPENAI_API_VERSION=2024-02-01
    

Run

python app.py

The agent will automatically query for "Lady Ada Lovelace" and show the response.

Tools Available

  • Guest Info: Retrieves guest information from the dataset
  • Weather Info: Provides dummy weather data
  • Hub Stats: Gets Hugging Face model statistics