Package com.openai.services.blocking
Interface EmbeddingService.WithRawResponse
-
- All Implemented Interfaces:
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 HttpResponseFor<CreateEmbeddingResponse>
create(EmbeddingCreateParams params)
Returns a raw HTTP response for post /embeddings
, but is otherwise the same as EmbeddingService.create.abstract HttpResponseFor<CreateEmbeddingResponse>
create(EmbeddingCreateParams params, RequestOptions requestOptions)
-
-
Method Detail
-
create
@MustBeClosed() HttpResponseFor<CreateEmbeddingResponse> create(EmbeddingCreateParams params)
Returns a raw HTTP response for
post /embeddings
, but is otherwise the same as EmbeddingService.create.
-
create
@MustBeClosed() abstract HttpResponseFor<CreateEmbeddingResponse> create(EmbeddingCreateParams params, RequestOptions requestOptions)
-
-
-
-