org.llm4s.llmconnect.config.CohereConfig
See theCohereConfig companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
trait Product
trait Mirror
class Object
trait Matchable
class Any
-
Self type
-
Members list
The names of the product elements
The names of the product elements
Attributes
-
Inherited from:
-
Mirror
Attributes
-
Inherited from:
-
Mirror
Constructs a CohereConfig, resolving contextWindow and reserveCompletion from the model name automatically.
Constructs a CohereConfig, resolving contextWindow and reserveCompletion from the model name automatically.
Value parameters
-
apiKey
-
Cohere API key; must be non-empty.
-
baseUrl
-
API base URL; must be non-empty. Defaults to CohereConfig.DEFAULT_BASE_URL when loaded via org.llm4s.config.Llm4sConfig.
-
modelName
-
Model identifier, e.g. "command-r-plus".
Attributes