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