Attributes
- Companion
- class
- Source
- OllamaConfig.scala
- Graph
-
- Supertypes
- Self type
-
OllamaConfig.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
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
- Source
- OllamaConfig.scala
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.
Attributes
- Source
- OllamaConfig.scala
