Skip to main content
Generate chat completions using Cohere’s Command models with built-in support for retrieval augmented generation (RAG). Ground responses in your documents and get automatic citations.

Samples

Basic chat

Chat with documents (RAG)

Use tools

Arguments

Returns

JSONB: Complete API response with message, citations, and metadata.