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