Class DefaultOpenAiClient
java.lang.Object
dev.langchain4j.model.openai.internal.OpenAiClient
dev.langchain4j.model.openai.internal.DefaultOpenAiClient
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultOpenAiClient.Builder
builder()
chatCompletion
(ChatCompletionRequest request) completion
(CompletionRequest request) embedding
(EmbeddingRequest request) imagesGeneration
(GenerateImagesRequest request) moderation
(ModerationRequest request)
-
Constructor Details
-
Method Details
-
builder
-
completion
- Specified by:
completion
in classOpenAiClient
-
chatCompletion
- Specified by:
chatCompletion
in classOpenAiClient
-
embedding
- Specified by:
embedding
in classOpenAiClient
-
moderation
- Specified by:
moderation
in classOpenAiClient
-
imagesGeneration
- Specified by:
imagesGeneration
in classOpenAiClient
-