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 and validates a config.
Builds and validates a config.
Attributes
- Returns
-
Left(ConfigurationError)for a blankmodelorbaseUrl, a non-positive context window, or a reserve that is negative or does not leave room for a prompt. 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".