AI Guard | Java SDK
Creates a new AI Guard API client.
AIGuardClient(Builder builder)Text guard (Beta)
guardText(TextGuardRequest request)Guard text.
final var response = client.guardText(TextGuardRequest.builder().text("hello world").build());
Guard text.
final var response = client.guardText(TextGuardRequest.builder().text("hello world").build());