# Functions
NewClient creates a new HTTP API client and returns it.
NewEmbedder creates a client that implements embeddings.Embedder.
WithAPIKey sets the API key.
WithBaseURL sets the API base URL.
WithHTTPClient sets the HTTP client.
WithVersion sets the API version.
# Constants
BaseURL is Cohere HTTP API base URL.
No description provided by the author
No description provided by the author
EmbedAPIVersion is the latest stable embedding API version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
APIError is Cohere API error.
APIVersion stores metadata API version.
Client is Cohere HTTP API client.
EmbedddingResponse received from API.
EmbeddingRequest sent to API endpoint.
Meta stores API response metadata.
Options are client options.