Package com.openai.services.blocking
Class ChatServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.ChatService
public final class ChatServiceImpl implements ChatService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ChatService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. ChatService
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. ChatCompletionService
completions()
-
-
Method Detail
-
withRawResponse
ChatService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ChatService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
completions
ChatCompletionService completions()
-
-
-
-