WithRawResponseImpl

Functions

Link copied to clipboard
public CompletableFuture<HttpResponseFor<Interaction>> cancel(InteractionCancelParams params)
public CompletableFuture<HttpResponseFor<Interaction>> cancel(String id, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<Interaction>> cancel(String id, InteractionCancelParams params)
public CompletableFuture<HttpResponseFor<Interaction>> cancel(String id, InteractionCancelParams params, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<Interaction>> cancel(InteractionCancelParams params, RequestOptions requestOptions)

public CompletableFuture<HttpResponseFor<Interaction>> cancel(String id)

Returns a raw HTTP response for post /{api_version}/interactions/{id}/cancel, but is otherwise the same as InteractionServiceAsync.cancel.

Link copied to clipboard
public CompletableFuture<HttpResponseFor<Interaction>> create(CreateAgentInteractionParams createAgentInteractionParams)
public CompletableFuture<HttpResponseFor<Interaction>> create(CreateModelInteractionParams createModelInteractionParams)
public CompletableFuture<HttpResponseFor<Interaction>> create(CreateAgentInteractionParams createAgentInteractionParams, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<Interaction>> create(CreateModelInteractionParams createModelInteractionParams, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<Interaction>> create(InteractionCreateParams.Body body, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<Interaction>> create(InteractionCreateParams params, RequestOptions requestOptions)

public CompletableFuture<HttpResponseFor<Interaction>> create(InteractionCreateParams params)

Returns a raw HTTP response for post /{api_version}/interactions, but is otherwise the same as InteractionServiceAsync.create.

Link copied to clipboard
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(CreateAgentInteractionParams createAgentInteractionParams)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(CreateModelInteractionParams createModelInteractionParams)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(InteractionCreateParams.Body body)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(CreateAgentInteractionParams createAgentInteractionParams, RequestOptions requestOptions)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(CreateModelInteractionParams createModelInteractionParams, RequestOptions requestOptions)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(InteractionCreateParams.Body body, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(InteractionCreateParams params, RequestOptions requestOptions)

@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> createStreaming(InteractionCreateParams params)

Returns a raw HTTP response for post /{api_version}/interactions, but is otherwise the same as InteractionServiceAsync.createStreaming.

Link copied to clipboard
public CompletableFuture<HttpResponseFor<InteractionDeleteResponse>> delete(String id, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<InteractionDeleteResponse>> delete(String id, InteractionDeleteParams params, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<InteractionDeleteResponse>> delete(InteractionDeleteParams params, RequestOptions requestOptions)

Returns a raw HTTP response for delete /{api_version}/interactions/{id}, but is otherwise the same as InteractionServiceAsync.delete.

Link copied to clipboard
public CompletableFuture<HttpResponseFor<Interaction>> get(InteractionGetParams params)
public CompletableFuture<HttpResponseFor<Interaction>> get(String id, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<Interaction>> get(String id, InteractionGetParams params)
public CompletableFuture<HttpResponseFor<Interaction>> get(String id, InteractionGetParams params, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<Interaction>> get(InteractionGetParams params, RequestOptions requestOptions)

public CompletableFuture<HttpResponseFor<Interaction>> get(String id)

Returns a raw HTTP response for get /{api_version}/interactions/{id}, but is otherwise the same as InteractionServiceAsync.get.

Link copied to clipboard
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> getStreaming(InteractionGetParams params)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> getStreaming(String id, RequestOptions requestOptions)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> getStreaming(String id, InteractionGetParams params)
@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> getStreaming(String id, InteractionGetParams params, RequestOptions requestOptions)
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> getStreaming(InteractionGetParams params, RequestOptions requestOptions)

@MustBeClosed()
public CompletableFuture<HttpResponseFor<StreamResponse<InteractionSseEvent>>> getStreaming(String id)

Returns a raw HTTP response for get /{api_version}/interactions/{id}, but is otherwise the same as InteractionServiceAsync.getStreaming.

Link copied to clipboard
public InteractionServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)

Returns a view of this service with the given option modifications applied.