commandmodel is good for most basic use-cases.command-lightmodel is good for smaller tasks and faster inference.command-r7b-12-2024model is good with RAG tasks, complex reasoning and multi-step tasks.
Authentication
Set yourCO_API_KEY environment variable. Get your key from here.
Example
UseCohere with your Agent:
View more examples here.
Params
Cohere is a subclass of the Model class and has access to the same params.