Uses of Class
com.t4a.processor.AIProcessingException
Packages that use AIProcessingException
Package
Description
-
Uses of AIProcessingException in com.t4a.api
Methods in com.t4a.api that throw AIProcessingExceptionModifier and TypeMethodDescriptionJavaMethodExecutor.action(com.google.cloud.vertexai.api.GenerateContentResponse response, Object actionInstance, String actionName) com.google.cloud.vertexai.api.FunctionDeclarationJavaMethodExecutor.buildFunction(AIAction action) Take the AIAction class and based on the type it returns a FunctionDeclaration for Geminicom.google.cloud.vertexai.api.FunctionDeclarationJavaMethodExecutor.buildFunction(Object actionInstance, String actionName) DetectorAction.execute(DetectValues dd) DefaultMethodFinder.findMethod(Class<?> clazz, String methodName) MethodFinder.findMethod(Class<?> clazz, String methodName) default booleanJavaMethodAction.isComplexMethod()Constructors in com.t4a.api that throw AIProcessingExceptionModifierConstructorDescriptionGenericJavaMethodAction(Class<?> clazz, String actionName) GenericJavaMethodAction(Class clazz, Method actionMethod) GenericJavaMethodAction(Object actionInstance) GenericJavaMethodAction(Object actionInstance, String actionName) -
Uses of AIProcessingException in com.t4a.detect
Methods in com.t4a.detect that throw AIProcessingExceptionModifier and TypeMethodDescriptionZeroShotHallucinationDetector.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 -
Uses of AIProcessingException in com.t4a.predict
Methods in com.t4a.predict that throw AIProcessingExceptionModifier and TypeMethodDescriptionstatic ObjectTools4AI.executeAction(String actionName, String jsonStr) PredictionLoader.getActionParams(AIAction action, String prompt, AIPlatform aiProvider, Map<String, Object> params) PredictionLoader.getMultiStepResult(String json) PredictionLoader.getPredictedAction(String prompt, int num) PredictionLoader.getPredictedActionMultiStep(String prompt) -
Uses of AIProcessingException in com.t4a.processor
Methods in com.t4a.processor that throw AIProcessingExceptionModifier and TypeMethodDescriptionGeminiImageActionProcessor.compareImages(byte[] imageBytes1, byte[] imageBytes2, String mimeType, String prompt) GeminiImageActionProcessor.compareImages(String imageNameAndPath, String imageNameAndPath2) GeminiImageActionProcessor.compareImages(URL imageNameAndPathURL, URL imageNameAndPath2URL) GeminiImageActionProcessor.compareImages(URL imageNameAndPathURL, URL imageNameAndPath2URL, String prompt) GeminiImageActionProcessor.getValueFor(byte[] imageBytes, String element) GeminiImageActionProcessor.imageToJson(URL imageNameAndPath, Class<?> clazz) GeminiImageActionProcessor.imageToJson(URL imageNameAndPath, String... names) GeminiImageActionProcessor.imageToPojo(URL imageNameAndPath, Class<?> clazz) GeminiImageActionProcessor.imageToText(byte[] imageBytes) GeminiImageActionProcessor.imageToText(byte[] imageBytes, String prompt) GeminiImageActionProcessor.imageToText(byte[] imageBytes, String mimeType, String prompt) GeminiImageActionProcessor.imageToText(String imageNameAndPath) GeminiImageActionProcessor.imageToText(String imageNameAndPath, String prompt) GeminiImageActionProcessor.imageToText(URL imageNameAndPath) GeminiImageActionProcessor.imageToText(URL imageURL, String prompt) AIProcessor.processSingleAction(String promptText) AIProcessor.processSingleAction(String promptText, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) AIProcessor.processSingleAction(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain, ActionCallback callback) AIProcessor.processSingleAction(String promptText, ActionCallback callback) AIProcessor.processSingleAction(String promptText, HumanInLoop humanVerification, ExplainDecision explain) default ObjectAIProcessor.processSingleAction(String promptText, Object actionInstance) default ObjectAIProcessor.processSingleAction(String promptText, Object actionInstance, ActionCallback callback) default ObjectAIProcessor.processSingleAction(String promptText, Object actionInstance, String actionName) AnthropicActionProcessor.processSingleAction(String prompt) AnthropicActionProcessor.processSingleAction(String promptText, AIAction action) AnthropicActionProcessor.processSingleAction(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) AnthropicActionProcessor.processSingleAction(String promptText, ActionCallback callback) AnthropicActionProcessor.processSingleAction(String promptText, HumanInLoop humanVerification, ExplainDecision explain) AnthropicActionProcessor.processSingleAction(String promptText, String actionName) GeminiV2ActionProcessor.processSingleAction(String prompt) GeminiV2ActionProcessor.processSingleAction(String promptText, AIAction action) GeminiV2ActionProcessor.processSingleAction(String promptText, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) GeminiV2ActionProcessor.processSingleAction(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain, ActionCallback callback) GeminiV2ActionProcessor.processSingleAction(String promptText, ActionCallback callback) GeminiV2ActionProcessor.processSingleAction(String promptText, HumanInLoop humanVerification, ExplainDecision explain) GeminiV2ActionProcessor.processSingleAction(String promptText, String actionName) LocalAIActionProcessor.processSingleAction(String promptText) LocalAIActionProcessor.processSingleAction(String promptText, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) LocalAIActionProcessor.processSingleAction(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain, ActionCallback callback) LocalAIActionProcessor.processSingleAction(String promptText, ActionCallback callback) OpenAiActionProcessor.processSingleAction(String prompt) OpenAiActionProcessor.processSingleAction(String promptText, AIAction action) OpenAiActionProcessor.processSingleAction(String promptText, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) OpenAiActionProcessor.processSingleAction(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain, ActionCallback callback) OpenAiActionProcessor.processSingleAction(String promptText, ActionCallback callback) OpenAiActionProcessor.processSingleAction(String promptText, HumanInLoop humanVerification, ExplainDecision explain) OpenAiActionProcessor.processSingleAction(String promptText, String actionName) OpenAiActionProcessor.processSingleNonJava(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) default Stringdefault Stringdefault String -
Uses of AIProcessingException in com.t4a.processor.scripts
Methods in com.t4a.processor.scripts that throw AIProcessingExceptionModifier and TypeMethodDescriptionvoidScriptProcessor.processCommands(ScriptCallback callback, BufferedReader reader, ScriptResult result) voidSeleniumScriptProcessor.processCommands(BufferedReader reader, ScriptResult result, SeleniumCallback callback) -
Uses of AIProcessingException in com.t4a.processor.selenium
Methods in com.t4a.processor.selenium that throw AIProcessingExceptionModifier and TypeMethodDescriptiondefault StringSeleniumProcessor.getStringFromPrompt(String prompt, String key) default voidSeleniumProcessor.processWebAction(String prompt) booleanSeleniumGeminiProcessor.trueFalseQuery(String question) booleanSeleniumOpenAIProcessor.trueFalseQuery(String question) booleanSeleniumProcessor.trueFalseQuery(String question) -
Uses of AIProcessingException in com.t4a.transform
Methods in com.t4a.transform that throw AIProcessingExceptionModifier and TypeMethodDescriptionGeminiV2PromptTransformer.getJSONResponseFromAI(String prompt, String jsonStr) PromptTransformer.getJSONResponseFromAI(String prompt, String jsonStr) AnthropicTransformer.transformIntoJson(String json, String prompt, String funName, String description) GeminiV2PromptTransformer.transformIntoJson(String jsonString, String promptText, String funName, String description) Build Json from the Prompt you need to pass Json in this format {"parametername","parametertype} you will get back the result like this {"parametername","parametervalue"}OpenAIPromptTransformer.transformIntoJson(String json, String prompt, String funName, String description) default StringPromptTransformer.transformIntoJson(String jsonString, String promptText) PromptTransformer.transformIntoJson(String jsonString, String promptText, String funName, String description) GeminiV2PromptTransformer.transformIntoJsonWithValues(String promptText, String... name) default ObjectPromptTransformer.transformIntoPojo(String prompt, Class<?> clazz) default ObjectPromptTransformer.transformIntoPojo(String prompt, String className) default ObjectPromptTransformer.transformIntoPojo(String prompt, String className, String funName, String description)