Package com.openai.services.async
Interface EmbeddingServiceAsync
-
- All Implemented Interfaces:
public interface EmbeddingServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
EmbeddingServiceAsync.WithRawResponse
A view of EmbeddingServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract EmbeddingServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<CreateEmbeddingResponse>
create(EmbeddingCreateParams params)
Creates an embedding vector representing the input text. abstract CompletableFuture<CreateEmbeddingResponse>
create(EmbeddingCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract EmbeddingServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<CreateEmbeddingResponse> create(EmbeddingCreateParams params)
Creates an embedding vector representing the input text.
-
create
abstract CompletableFuture<CreateEmbeddingResponse> create(EmbeddingCreateParams params, RequestOptions requestOptions)
-
-
-
-