Skip to content

Commit

Permalink
Merge pull request #49 from Madhuvod/rag-agent-cohere-3
Browse files Browse the repository at this point in the history
chore:changed code in rag_agent_cohere
  • Loading branch information
Shubhamsaboo authored Dec 15, 2024
2 parents 8a2429e + dec968b commit 3d0f34f
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -219,7 +219,7 @@ def process_query(vectorstore, query) -> tuple[str, list]:
last_message = response["messages"][-1]
answer = last_message.content if hasattr(last_message, 'content') else str(last_message)

return f"""Comprehensive Research Results:
return f"""Web Search Result:
{answer}
""", []

Expand Down

0 comments on commit 3d0f34f

Please sign in to comment.