From a3dfdc0e7044283b602c73876026a5e58553251a Mon Sep 17 00:00:00 2001 From: Madhu Date: Sun, 15 Dec 2024 09:16:43 +0530 Subject: [PATCH] command R addition --- rag_tutorials/rag_agent_cohere/README.md | 2 +- rag_tutorials/rag_agent_cohere/rag_agent_cohere.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rag_tutorials/rag_agent_cohere/README.md b/rag_tutorials/rag_agent_cohere/README.md index 0fc01bd..1d30b7c 100644 --- a/rag_tutorials/rag_agent_cohere/README.md +++ b/rag_tutorials/rag_agent_cohere/README.md @@ -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. diff --git a/rag_tutorials/rag_agent_cohere/rag_agent_cohere.py b/rag_tutorials/rag_agent_cohere/rag_agent_cohere.py index cf98be2..fb530c2 100644 --- a/rag_tutorials/rag_agent_cohere/rag_agent_cohere.py +++ b/rag_tutorials/rag_agent_cohere/rag_agent_cohere.py @@ -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"])