Uses of Class
com.t4a.api.GuardRailException
Packages that use GuardRailException
-
Uses of GuardRailException in com.t4a.api
Methods in com.t4a.api that throw GuardRailExceptionModifier and TypeMethodDescriptionDetectorAction.execute(DetectValues dd) booleanGeminiGuardRails.validateRequest(String prompt) booleanGuardRails.validateRequest(String prompt) booleanGeminiGuardRails.validateResponse(String response) booleanGuardRails.validateResponse(String response) -
Uses of GuardRailException in com.t4a.detect
Methods in com.t4a.detect that throw GuardRailExceptionModifier and TypeMethodDescriptionBiasDetector.execute(DetectValues dd) FactDetector.execute(DetectValues dd) ZeroShotHallucinationDetector.execute(DetectValues dd) This uses the Self Check method where the original request is broken down into multiple question these questions are then sent to the Gemini for further answering, the original answer and new answer is mapped to check the truth value