Interface PromptAnalyzerServiceAsync
-
- All Implemented Interfaces:
public interface PromptAnalyzerServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePromptAnalyzerServiceAsync.WithRawResponseA view of PromptAnalyzerServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract PromptAnalyzerServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract PromptAnalyzerServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<PromptAnalyzerCreateResponse>create(PromptAnalyzerCreateParams params)Analyze LLM Prompt and Response abstract CompletableFuture<PromptAnalyzerCreateResponse>create(PromptAnalyzerCreateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract PromptAnalyzerServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract PromptAnalyzerServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<PromptAnalyzerCreateResponse> create(PromptAnalyzerCreateParams params)
Analyze LLM Prompt and Response
-
create
abstract CompletableFuture<PromptAnalyzerCreateResponse> create(PromptAnalyzerCreateParams params, RequestOptions requestOptions)
-
-
-
-