CohereClient

org.llm4s.llmconnect.provider.CohereClient
@Experimental
object CohereClient

Attributes

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

Members list

Value members

Concrete methods

The Cohere client for config, an OpenAICompatibleClient, or why one cannot be built: a blank apiKey with no ApiKeyProvider is a Left(ConfigurationError), and nothing is thrown.

The Cohere client for config, an OpenAICompatibleClient, or why one cannot be built: a blank apiKey with no ApiKeyProvider is a Left(ConfigurationError), and nothing is thrown.

Value parameters

config

the provider's configuration.

options

the metrics collector, exchange logging and HTTP client of the client; none of them by default. options.httpClient, when set, carries every request and stays the caller's to close.

Attributes

Source
CohereClient.scala