The Cohere Platform is centered around models.
Each model has a different amount of power (i.e. parameters), to be used for different tasks.
Cohere has three baseline models:
Cohere also supports finetuning of baseline models to improve performance on downstream tasks or to teach the model large quantities of information which cannot be extracted with few-shot learning or prompt engineering.
Further SDK documentation is accompanied in the rest of the API Reference documentation.
Install the npm package:
Install the ruby gem:
To make a request to any model, you must pass in the
Authorization Header and the request must be made through a
The content of
Authorization should be in the shape of
BEARER [API_KEY]. All request bodies are sent through JSON.
Model names are found within the dashboard, and details about endpoints are available within the documentation. Detailed model information can be found in the Model Cards.