BocchiMing commited on
Commit
6144290
·
verified ·
1 Parent(s): 4c024a3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -0
README.md CHANGED
@@ -12,4 +12,40 @@ hf_oauth: true
12
  hf_oauth_expiration_minutes: 480
13
  ---
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
12
  hf_oauth_expiration_minutes: 480
13
  ---
14
 
15
+
16
+ # 🧠 AI RAG Agent - Final Project (LangGraph + Supabase)
17
+
18
+ This project is a Retrieval-Augmented Generation (RAG) agent built using **LangGraph**, **LangChain**, and **Supabase** as a vector store.
19
+ It allows users to query a custom knowledge base hosted in their own Supabase instance.
20
+
21
+ ---
22
+
23
+ ## 📋 Features
24
+
25
+ - 🔎 RAG: Use your Supabase + FAISS for retrieval
26
+ - 🤖 LLM-powered: Gemini or other models via LangChain
27
+ - 🌐 Optional web search fallback (Tavily or Arxiv)
28
+ - 🔒 Keep your API keys secure with private `.env`
29
+
30
+ ---
31
+
32
+ ## 🚀 How to Use
33
+
34
+ ### 1. Clone this Space
35
+
36
+ Click the **"Duplicate Space"** button at the top-right to create your own copy.
37
+
38
+ ---
39
+
40
+ ### 2. Configure `.env` Variables
41
+
42
+ Inside your cloned Space, go to the **"Files"** tab, create a file named `.env`, and add the following variables:
43
+
44
+ ```env
45
+ SUPABASE_URL=your_supabase_url
46
+ SUPABASE_SERVICE_KEY=your_supabase_service_key
47
+ GOOGLE_API_KEY=your_google_api_key
48
+ TAVILY_API_KEY=your_tavily_api_key # optional if using Tavily tool
49
+
50
+
51
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference