Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
OllamaConfig.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.
The model and server URL, every other field at its default: the entry point for Java and Kotlin, which do not see Scala default arguments. contextWindow and reserveCompletion come from the model name alone (llama3 is 8192); set them with the with* setters, or use fromValues to consult the bundled model catalogue.
The model and server URL, every other field at its default: the entry point for Java and Kotlin, which do not see Scala default arguments. contextWindow and reserveCompletion come from the model name alone (llama3 is 8192); set them with the with* setters, or use fromValues to consult the bundled model catalogue.
Attributes
Constructs an OllamaConfig, resolving contextWindow and reserveCompletion from the model name automatically.
Constructs an OllamaConfig, resolving contextWindow and reserveCompletion from the model name automatically.
Value parameters
- baseUrl
-
Ollama server URL; must be non-empty.
- modelName
-
Model identifier as registered in Ollama.