Skip to content

Commit

Permalink
Merge pull request #48 from Madhuvod/rag-agent-cohere-2
Browse files Browse the repository at this point in the history
chore: updated requirements file
  • Loading branch information
Shubhamsaboo authored Dec 15, 2024
2 parents 72e788f + a3dfdc0 commit 48353e1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rag_tutorials/rag_agent_cohere/README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion rag_tutorials/rag_agent_cohere/rag_agent_cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down
17 changes: 11 additions & 6 deletions rag_tutorials/rag_agent_cohere/requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 48353e1

Please sign in to comment.