Package dev.case.api.services.async.llm
Interface V1ServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface V1ServiceAsync.WithRawResponseA view of V1ServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract V1ServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
chat
abstract ChatServiceAsync.WithRawResponse chat()
Access 40+ language models through a unified API
-
createEmbedding
CompletableFuture<HttpResponseFor<V1CreateEmbeddingResponse>> createEmbedding(V1CreateEmbeddingParams params)
Returns a raw HTTP response for
post /llm/v1/embeddings, but is otherwise the same as V1ServiceAsync.createEmbedding.
-
createEmbedding
abstract CompletableFuture<HttpResponseFor<V1CreateEmbeddingResponse>> createEmbedding(V1CreateEmbeddingParams params, RequestOptions requestOptions)
-
listModels
CompletableFuture<HttpResponseFor<V1ListModelsResponse>> listModels()
Returns a raw HTTP response for
get /llm/v1/models, but is otherwise the same as V1ServiceAsync.listModels.
-
listModels
abstract CompletableFuture<HttpResponseFor<V1ListModelsResponse>> listModels(V1ListModelsParams params, RequestOptions requestOptions)
-
listModels
CompletableFuture<HttpResponseFor<V1ListModelsResponse>> listModels(V1ListModelsParams params)
-
listModels
CompletableFuture<HttpResponseFor<V1ListModelsResponse>> listModels(RequestOptions requestOptions)
-
-
-
-