Package com.openai.services.async.beta
Interface AssistantServiceAsync
-
- All Implemented Interfaces:
public interface AssistantServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
AssistantServiceAsync.WithRawResponse
A view of AssistantServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract AssistantServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<Assistant> create(AssistantCreateParams params)
Create an assistant with a model and instructions.
-
create
abstract CompletableFuture<Assistant> create(AssistantCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Assistant> retrieve(AssistantRetrieveParams params)
Retrieves an assistant.
-
retrieve
abstract CompletableFuture<Assistant> retrieve(AssistantRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Assistant> update(AssistantUpdateParams params)
Modifies an assistant.
-
update
abstract CompletableFuture<Assistant> update(AssistantUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AssistantListPageAsync> list()
Returns a list of assistants.
-
list
abstract CompletableFuture<AssistantListPageAsync> list(AssistantListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<AssistantListPageAsync> list(AssistantListParams params)
-
list
CompletableFuture<AssistantListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<AssistantDeleted> delete(AssistantDeleteParams params)
Delete an assistant.
-
delete
abstract CompletableFuture<AssistantDeleted> delete(AssistantDeleteParams params, RequestOptions requestOptions)
-
-
-
-