Build natural language understanding and generation into your product with a few lines of code.
Use the Cohere API to write human-like text by completing a prompt or filling in blanks. You can write copy, generate code, summarize text, and more.
Here are a few examples of how the API can generate text.
We dream of a world where computers understand us. To communicate naturally with language is
Compute the likelihood of text and retrieve representations from the model. Use the likelihood API to filter text based on chosen categories or selected criteria. With representations, you can train your own downstream models on a wide variety of domain-specific natural language tasks.
Here’s an example of how the API can sort semantically similar text into topics.
The Cohere API can compute the similarity between pieces of text, and make categorical predictions by comparing the likelihood of different text options.
In this example, the API compares possible endings to a sentence.
What do DNA and computer programs have in common? Both are
a series of instructions
created by humans
The model has multiple lenses through which to view ideas, so that it can recognize abstract similarities between concepts as distinct as DNA and computers.