←back to thread

129 points ericciarla | 1 comments | | HN request time: 0.21s | source
Show context
Oras ◴[] No.40715170[source]
Cohere is underrated, I recently tried cohere R model and found it following prompt much better than gpt-4o and even Claude opus.

That’s said, it’s a bit annoying to see langchain examples all over. Not everyone uses it, and many consider it bloated and hard to maintain.

Would be great just to have a simple example in Python showing the capabilities.

replies(1): >>40720219 #
1. el-ai-ne ◴[] No.40720219[source]
Hey, I work at Cohere and I'm stoked to hear Command R is following prompt instructions well. Appreciate the feedback and here is a simple example in Python: https://docs.cohere.com/docs/multi-step-tool-use#using-the-c...

The following cookbooks contain slightly more advanced code examples, using just the cohere API for multi-step: https://docs.cohere.com/page/calendar-agent https://docs.cohere.com/page/pdf-extractor https://docs.cohere.com/page/agentic-multi-stage-rag

Cheers