Interface InteractionServiceAsync
-
- All Implemented Interfaces:
public interface InteractionServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceInteractionServiceAsync.WithRawResponseA view of InteractionServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract InteractionServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract InteractionServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<InteractionAnalyzeResponse>analyze(InteractionAnalyzeParams params)Performs a detailed security analysis of the input and/or output of LLM interactions. abstract CompletableFuture<InteractionAnalyzeResponse>analyze(InteractionAnalyzeParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract InteractionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract InteractionServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
analyze
CompletableFuture<InteractionAnalyzeResponse> analyze(InteractionAnalyzeParams params)
Performs a detailed security analysis of the input and/or output of LLM interactions.
-
analyze
abstract CompletableFuture<InteractionAnalyzeResponse> analyze(InteractionAnalyzeParams params, RequestOptions requestOptions)
-
-
-
-