Cohere

by Cohere Inc.

Generate text with Command models, create embeddings for semantic search, rerank search results, classify text, and summarise documents using Cohere's NLP API.

AI ServicesFree / PaidAPI keyllmembeddingsnlprerankclassifysummarizeai

How agents use Cohere

  • Agent embeds user queries and document chunks for RAG retrieval using Cohere's embed-english model
  • Agent reranks vector search results to improve relevance before passing context to an LLM
  • Agent classifies incoming support messages by category using few-shot examples
  • Agent summarises long documents or articles before forwarding them to downstream nodes
  • Agent uses Command-R+ to reason over retrieved context and generate grounded responses

Agent actions

ChatGenerate a conversational response using a Cohere Command model.

Inputs: message, model, systemPrompt, chatHistory, temperature, maxTokens

Returns: text, finishReason, inputTokens, outputTokens

Embed TextGenerate vector embeddings for one or more text inputs.

Inputs: texts, model, inputType

Returns: embeddings, embeddingCount, model

Rerank DocumentsRerank a list of documents by relevance to a query.

Inputs: query, documents, topN, model

Returns: results, topDocument, topScore

Classify TextClassify text inputs into categories using few-shot examples.

Inputs: inputs, examples

Returns: classifications, labels

SummarizeGenerate a concise summary of a long text.

Inputs: text, length, format, extractiveness

Returns: summary

Example workflows

  1. 1

    RAG pipeline with reranking

    Embed a query, retrieve candidates from Pinecone, rerank with Cohere, then generate a response with Command-R+.

About Cohere

Vendor
Cohere Inc.
Pricing Always review details with the vendor
Free / Paid — Free trial includes limited API calls. Production pricing is usage-based per token/request.
Authentication
API key
Rate limit Always review details with the vendor
100 requests / minute
Compatible nodes
AgentResource

Put Cohere behind your AI agent

Add Cohere alongside your other tools in the planner, without code, and map out how your AI agent works with it.

Open the planner →

Questions about Cohere

Agent embeds user queries and document chunks for RAG retrieval using Cohere's embed-english model Agent reranks vector search results to improve relevance before passing context to an LLM Agent classifies incoming support messages by category using few-shot examples Agent summarises long documents or articles before forwarding them to downstream nodes Agent uses Command-R+ to reason over retrieved context and generate grounded responses

Chat, Embed Text, Rerank Documents, Classify Text, Summarize

You add Cohere in the Fugentic planner, a no-code canvas for mapping out what your business does and which tools sit behind it. It shows how an AI agent would work with Cohere. Try it free at fugentic.ai/solutions/agentic-planner.

Related AI Services tools