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