Skip to content

api-evangelist/cohere

Repository files navigation

cohere (cohere)

Generates a text response to a user message and streams it down, token by token.

APIs.json: https://raw.githubusercontent.com/api-evangelist/cohere/refs/heads/main/apis.yml

Timestamps

  • Modified: 2026-05-29

APIs

Cohere Chat API

The Cohere Chat API enables developers to integrate large language model text generation capabilities into their applications through a conversational interface. It supports multi-turn conversations, tool use with JSON schema definitions, retrieval-augmented generation, and streaming responses. The API is available via the v2 endpoint and works with Cohere's Command family of models.

Tags

  • Artificial Intelligence
  • Chat
  • Conversational AI
  • Large Language Models
  • Text Generation

Properties

Cohere Embed API

The Cohere Embed API generates vector embeddings from text and images, enabling semantic search, clustering, and classification use cases. It supports multilingual content and can process both text and image inputs using the Embed v3 model family. Developers can use these embeddings to build retrieval systems, recommendation engines, and other applications that require understanding semantic similarity between content.

Tags

  • Artificial Intelligence
  • Embeddings
  • Natural Language Processing
  • Semantic Search
  • Vector Search

Properties

Cohere Rerank API

The Cohere Rerank API takes a query and a list of text documents and returns them ordered by relevance with assigned relevance scores. It is commonly used as a second-stage ranker in retrieval-augmented generation pipelines to improve the quality of search results before passing them to a language model. The API supports multilingual reranking and can significantly improve the precision of search and retrieval systems.

Tags

  • Artificial Intelligence
  • Information Retrieval
  • Relevance
  • Reranking
  • Search

Properties

Cohere Classify API

The Cohere Classify API performs text classification by assigning labels to input text based on provided examples. It can be used for sentiment analysis, content moderation, topic categorization, and other classification tasks. Developers provide a set of labeled examples along with texts to classify, and the API returns predicted labels with confidence scores for each input.

Tags

  • Artificial Intelligence
  • Classification
  • Natural Language Processing
  • Text Analysis

Properties

Cohere Embed Jobs API

The Cohere Embed Jobs API allows developers to create and manage batch embedding jobs for processing large volumes of text data asynchronously. Rather than embedding texts one at a time, developers can submit datasets for bulk embedding and monitor job progress. This is useful for initializing vector databases, processing large document collections, and other scenarios where embedding large amounts of content is needed.

Tags

  • Artificial Intelligence
  • Batch Processing
  • Embeddings
  • Vector Search

Properties

Cohere Datasets API

The Cohere Datasets API provides endpoints for uploading, managing, and retrieving datasets used with other Cohere services such as fine-tuning and embed jobs. Developers can create datasets from files, list existing datasets, retrieve dataset metadata, and delete datasets they no longer need. The API supports various data formats and validates uploaded data against expected schemas.

Tags

  • Artificial Intelligence
  • Data Management
  • Datasets
  • Fine-Tuning

Properties

Cohere Models API

The Cohere Models API allows developers to list and retrieve information about available Cohere models, including the Command, Embed, and Rerank model families. It provides details such as model names, versions, supported endpoints, context lengths, and capabilities. This API is useful for programmatically discovering which models are available and selecting the appropriate model for a given task.

Tags

  • Artificial Intelligence
  • Machine Learning
  • Models

Properties

Cohere Tokenize API

The Cohere Tokenize API splits input text into tokens using the tokenizer associated with a specified model. It returns both the token strings and their corresponding token IDs. This is useful for understanding how text will be processed by Cohere models, estimating token counts for billing purposes, and debugging input formatting issues.

Tags

  • Artificial Intelligence
  • Natural Language Processing
  • Text Processing
  • Tokenization

Properties

Cohere Detokenize API

The Cohere Detokenize API converts a sequence of token IDs back into their corresponding text string using the tokenizer for a specified model. It is the inverse operation of the Tokenize API and is useful for inspecting model outputs at the token level, debugging tokenization behavior, and reconstructing text from token representations.

Tags

  • Artificial Intelligence
  • Natural Language Processing
  • Text Processing
  • Tokenization

Properties

Common Properties

About

Generates a text response to a user message and streams it down, token by token.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors