Class QuarkusOpenAiClient.Builder
java.lang.Object
dev.ai4j.openai4j.OpenAiClient.Builder<QuarkusOpenAiClient,QuarkusOpenAiClient.Builder>
io.quarkiverse.langchain4j.openai.QuarkusOpenAiClient.Builder
- Enclosing class:
- QuarkusOpenAiClient
public static class QuarkusOpenAiClient.Builder
extends dev.ai4j.openai4j.OpenAiClient.Builder<QuarkusOpenAiClient,QuarkusOpenAiClient.Builder>
-
Field Summary
Fields inherited from class dev.ai4j.openai4j.OpenAiClient.Builder
apiVersion, azureApiKey, baseUrl, callTimeout, connectTimeout, customHeaders, logLevel, logRequests, logResponses, logStreamingResponses, openAiApiKey, organizationId, persistTo, proxy, readTimeout, writeTimeout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionazureAdToken
(String azureAdToken) azureApiKey
(String azureApiKey) build()
configName
(String configName) boolean
int
hashCode()
openAiApiKey
(String openAiApiKey) Methods inherited from class dev.ai4j.openai4j.OpenAiClient.Builder
apiVersion, baseUrl, callTimeout, connectTimeout, customHeaders, logLevel, logRequests, logRequests, logResponses, logResponses, logStreamingResponses, logStreamingResponses, organizationId, persistTo, proxy, proxy, readTimeout, withPersisting, writeTimeout
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
userAgent
- Overrides:
userAgent
in classdev.ai4j.openai4j.OpenAiClient.Builder<QuarkusOpenAiClient,
QuarkusOpenAiClient.Builder>
-
azureAdToken
-
configName
-
openAiApiKey
- Overrides:
openAiApiKey
in classdev.ai4j.openai4j.OpenAiClient.Builder<QuarkusOpenAiClient,
QuarkusOpenAiClient.Builder>
-
azureApiKey
- Overrides:
azureApiKey
in classdev.ai4j.openai4j.OpenAiClient.Builder<QuarkusOpenAiClient,
QuarkusOpenAiClient.Builder>
-
build
- Specified by:
build
in classdev.ai4j.openai4j.OpenAiClient.Builder<QuarkusOpenAiClient,
QuarkusOpenAiClient.Builder>
-
equals
-
hashCode
public int hashCode()
-