Class AzureOpenAiEmbeddingModel.Builder
java.lang.Object
io.quarkiverse.langchain4j.azure.openai.AzureOpenAiEmbeddingModel.Builder
- Enclosing class:
- AzureOpenAiEmbeddingModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the Azure OpenAI API key.apiVersion(String apiVersion) Sets the Azure OpenAI API version.build()configName(String configName) Sets the Azure OpenAI endpoint.logRequests(Boolean logRequests) logResponses(Boolean logResponses) maxRetries(Integer maxRetries) tokenizer(dev.langchain4j.model.Tokenizer tokenizer)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoint
Sets the Azure OpenAI endpoint. This is a mandatory parameter.- Parameters:
endpoint- The Azure OpenAI endpoint in the format: https://{resource-name}.openai.azure.com/openai/deployments/{deployment-name}- Returns:
- builder
-
apiVersion
Sets the Azure OpenAI API version. This is a mandatory parameter.- Parameters:
apiVersion- The Azure OpenAI api version in the format: 2023-05-15- Returns:
- builder
-
apiKey
Sets the Azure OpenAI API key. This is a mandatory parameter.- Parameters:
apiKey- The Azure OpenAI API key.- Returns:
- builder
-
adToken
-
tokenizer
-
timeout
-
maxRetries
-
proxy
-
logRequests
-
logResponses
-
configName
-
build
-