Package dev.langchain4j.model.openai
Class OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
java.lang.Object
dev.langchain4j.model.openai.OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder
- Enclosing class:
OpenAiEmbeddingModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
customHeaders
(Map<String, String> customHeaders) dimensions
(Integer dimensions) logRequests
(Boolean logRequests) logResponses
(Boolean logResponses) maxRetries
(Integer maxRetries) modelName
(OpenAiEmbeddingModelName modelName) organizationId
(String organizationId) toString()
-
Constructor Details
-
OpenAiEmbeddingModelBuilder
public OpenAiEmbeddingModelBuilder()
-
-
Method Details
-
modelName
-
modelName
public OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder modelName(OpenAiEmbeddingModelName modelName) -
baseUrl
-
apiKey
-
organizationId
-
dimensions
-
user
-
timeout
-
maxRetries
-
proxy
-
logRequests
-
logResponses
-
tokenizer
-
customHeaders
public OpenAiEmbeddingModel.OpenAiEmbeddingModelBuilder customHeaders(Map<String, String> customHeaders) -
build
-
toString
-