Merge pull request #48 from Madhuvod/rag-agent-cohere-2

chore: updated requirements file
This commit is contained in:
Shubham Saboo 2024-12-14 22:06:51 -06:00 committed by GitHub
commit 48353e1e71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# RAG Agent with Cohere 🤖
# RAG Agent with Cohere ⌘R
A RAG Agentic system built with Cohere's new model Command-r7b-12-2024, Qdrant for vector storage, Langchain for RAG and LangGraph for orchestration. This application allows users to upload documents, ask questions about them, and get AI-powered responses with fallback to web search when needed.

View file

@ -247,7 +247,7 @@ def post_process(answer, sources):
formatted_sources.append(formatted_source)
return answer, formatted_sources
st.title("RAG Agent with Cohere 🤖")
st.title("RAG Agent with Cohere ⌘R")
uploaded_file = st.file_uploader("Choose a PDF or Image File", type=["pdf", "jpg", "jpeg"])

View file

@ -1,9 +1,14 @@
langgraph==0.2.53
langchain==0.3.11
langchain-community==0.0.10
langchain==0.3.12
langchain-community==0.3.12
langchain-core==0.3.25
langchain-cohere==0.3.2
langchain-qdrant==0.2.0
cohere==5.11.4
qdrant-client==1.12.1
duckduckgo-search==4.1.1
duckduckgo-search==6.4.1
streamlit==1.40.2
langchain-cohere==0.3.2
langchain-qdrant==0.2.0
tenacity==9.0.0
typing-extensions==4.12.2
pydantic==2.9.2
pydantic-core==2.23.4
langgraph==0.2.53