Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Builds a config without validating it; fromValues validates. Every field after baseUrl has a default.
Builds a config without validating it; fromValues validates. Every field after baseUrl has a default.
Attributes
The model and base URL, every other field at its default: the entry point for Java and Kotlin, which do not see Scala default arguments. Set the rest with the with* setters.
The model and base URL, every other field at its default: the entry point for Java and Kotlin, which do not see Scala default arguments. Set the rest with the with* setters.
Attributes
Builds and validates a config.
Builds and validates a config.
Attributes
- Returns
-
Left(ConfigurationError)for a blankmodelorbaseUrl, a non-positive context window, a reserve that is negative or does not leave room for a prompt, or atokenExchangethat validate refuses. A blankapiKeyis treated as none.
Concrete fields
Context window used when config sets none: 8192 tokens, small enough that any current chat model accepts it.
Context window used when config sets none: 8192 tokens, small enough that any current chat model accepts it.
Attributes
Completion reserve used when config sets none.
Completion reserve used when config sets none.
Attributes
The provider id, as written in provider = "openai-compatible".
The provider id, as written in provider = "openai-compatible".