diff --git a/ai_agent_tutorials/ai_knowledge_companion_r1_agent/README.md b/rag_tutorials/deepseek_local_rag_agent/README.md similarity index 76% rename from ai_agent_tutorials/ai_knowledge_companion_r1_agent/README.md rename to rag_tutorials/deepseek_local_rag_agent/README.md index df2a34f..3c9ea18 100644 --- a/ai_agent_tutorials/ai_knowledge_companion_r1_agent/README.md +++ b/rag_tutorials/deepseek_local_rag_agent/README.md @@ -1,12 +1,12 @@ -# Deepseek r1 Knowledge Agent 🤔 +# Deepseek Local RAG Reasoning Agent 🤔 -A versatile knowledge companion built with Deepseek r1 (via Ollama), Gemini for embeddings, Qdrant for vector storage, and Agno for agent orchestration. This application features dual-mode operation - a simple chat mode using local Deepseek r1 and an advanced RAG mode with document processing and web search capabilities. +A powerful reasoning agent that combines local Deepseek models with RAG capabilities. Built using Deepseek (via Ollama), Gemini for embeddings, Qdrant for vector storage, and Agno for agent orchestration, this application offers both simple local chat and advanced RAG-enhanced interactions with comprehensive document processing and web search capabilities. ## Features - **Dual Operation Modes** - - Simple Chat Mode: Direct interaction with Deepseek r1 locally - - RAG Mode: Enhanced responses with document context and web search + - Local Chat Mode: Direct interaction with Deepseek locally + - RAG Mode: Enhanced reasoning with document context and web search integration - **Document Processing** (RAG Mode) - PDF document upload and processing @@ -72,7 +72,7 @@ ollama pull deepseek-r1:7b 1. Clone the repository: ```bash git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git -cd ai_agent_tutorials/ai_knowledge_companion_r1_agent +cd rag_tutorials/deepseek_local_rag_agent ``` 2. Install dependencies: @@ -82,6 +82,6 @@ pip install -r requirements.txt 3. Run the application: ```bash -streamlit run ai_knowledge_r1_agent.py +streamlit run deepseek_rag_agent.py ``` diff --git a/ai_agent_tutorials/ai_knowledge_companion_r1_agent/ai_knowledge_r1_agent.py b/rag_tutorials/deepseek_local_rag_agent/deepseek_rag_agent.py similarity index 99% rename from ai_agent_tutorials/ai_knowledge_companion_r1_agent/ai_knowledge_r1_agent.py rename to rag_tutorials/deepseek_local_rag_agent/deepseek_rag_agent.py index e346309..0786ddb 100644 --- a/ai_agent_tutorials/ai_knowledge_companion_r1_agent/ai_knowledge_r1_agent.py +++ b/rag_tutorials/deepseek_local_rag_agent/deepseek_rag_agent.py @@ -2,7 +2,6 @@ import os import tempfile from datetime import datetime from typing import List - import streamlit as st import google.generativeai as genai import bs4 @@ -40,7 +39,7 @@ COLLECTION_NAME = "deepseek-r1-agno" # Streamlit App Initialization -st.title("🤔 Deepseek r1 Knowledge Agent ") +st.title("🤔 Deepseek Local RAG Reasoning Agent") # Session State Initialization if 'google_api_key' not in st.session_state: diff --git a/ai_agent_tutorials/ai_knowledge_companion_r1_agent/requirements.txt b/rag_tutorials/deepseek_local_rag_agent/requirements.txt similarity index 100% rename from ai_agent_tutorials/ai_knowledge_companion_r1_agent/requirements.txt rename to rag_tutorials/deepseek_local_rag_agent/requirements.txt