Ollama

org.llm4s.rag.benchmark.EmbeddingConfig.Ollama
final case class Ollama(model: String, dimensions: Int, baseUrl: String) extends EmbeddingConfig

Ollama local embedding configuration.

Value parameters

baseUrl

Ollama server URL (default: http://localhost:11434)

dimensions

Embedding dimensions (default: 768)

model

Model name (default: nomic-embed-text)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val provider: String