Uses of Class
io.agentscope.core.embedding.ollama.OllamaTextEmbedding.Builder
Packages that use OllamaTextEmbedding.Builder
-
Uses of OllamaTextEmbedding.Builder in io.agentscope.core.embedding.ollama
Methods in io.agentscope.core.embedding.ollama that return OllamaTextEmbedding.BuilderModifier and TypeMethodDescriptionSets the base URL for Ollama API.static OllamaTextEmbedding.BuilderOllamaTextEmbedding.builder()Creates a new builder for OllamaTextEmbedding.OllamaTextEmbedding.Builder.dimensions(int dimensions) Sets the dimension of embedding vectors.OllamaTextEmbedding.Builder.executionConfig(io.agentscope.core.model.ExecutionConfig config) Sets the default execution configuration.Sets the model name to use.