Constructor for the CohereEmbeddings class.
Optional
fields: Partial<CohereEmbeddingsParams> & { An optional object with properties to configure the instance.
The maximum number of documents to embed in a single request. This is limited by the Cohere API to a maximum of 96.
Specifies the type of embeddings you want to generate.
A class for generating embeddings using the Cohere API.