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