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