CohereEmbeddingConfigKeys

org.llm4s.config.CohereEmbeddingConfigKeys

Environment-variable names recognised by llm4s-cohere.

A key belongs with the code that reads it, so these live here and not in ConfigKeys, which must not name variables for a provider that may not be on the classpath. They are bound in this module's reference.conf: the key under the shared llm4s.credentials.cohere, the base URL and model under llm4s.embeddings.cohere.

COHERE_API_KEY is also bound by llm4s-openai-compatible (Cohere chat) and llm4s-rag (the Cohere reranker), so one key serves all three; it is bound here too so that llm4s-cohere works without either.

Attributes

Source
CohereEmbeddingConfigKeys.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

Cohere API key.

Cohere API key.

Attributes

Source
CohereEmbeddingConfigKeys.scala

Overrides the Cohere embedding base URL. Defaults to "https://api.cohere.com".

Overrides the Cohere embedding base URL. Defaults to "https://api.cohere.com".

Attributes

Source
CohereEmbeddingConfigKeys.scala

Selects the Cohere embedding model when using the legacy provider format.

Selects the Cohere embedding model when using the legacy provider format.

Attributes

Source
CohereEmbeddingConfigKeys.scala