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.FunctionDeclaration
JavaMethodExecutor.buildFunction
(AIAction action) Take the AIAction class and based on the type it returns a FunctionDeclaration for Geminicom.google.cloud.vertexai.api.FunctionDeclaration
JavaMethodExecutor.buildFunction
(Object actionInstance, String actionName) DetectorAction.execute
(DetectValues dd) default boolean
JavaMethodAction.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 TypeMethodDescriptionPredictionLoader.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) Compare two images and find differencesGeminiImageActionProcessor.compareImages
(String imageNameAndPath, String imageNameAndPath2, String prompt) Compare two images and find differencesGeminiImageActionProcessor.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) Converts the image into the json object matching with the class.GeminiImageActionProcessor.imageToJson
(URL imageNameAndPath, String... names) This method will convert image to json, the json will have fields populated with values from the image the name of the fields are passed in names attributeGeminiImageActionProcessor.imageToPojo
(URL imageNameAndPath, Class<?> clazz) Convert the entire image into the Pojo objectGeminiImageActionProcessor.imageToText
(byte[] imageBytes) GeminiImageActionProcessor.imageToText
(byte[] imageBytes, String prompt) GeminiImageActionProcessor.imageToText
(byte[] imageBytes, String mimeType, String prompt) GeminiImageActionProcessor.imageToText
(String imageNameAndPath) Get text from imageGeminiImageActionProcessor.imageToText
(String imageNameAndPath, String prompt) GeminiImageActionProcessor.imageToText
(URL imageNameAndPath) Get text from imageGeminiImageActionProcessor.imageToText
(URL imageURL, String prompt) AIProcessor.processSingleAction
(String promptText) AIProcessor.processSingleAction
(String promptText, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) AIProcessor.processSingleAction
(String promptText, HumanInLoop humanVerification, ExplainDecision explain) default Object
AIProcessor.processSingleAction
(String promptText, Object actionInstance) default Object
AIProcessor.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, HumanInLoop humanVerification, ExplainDecision explain) AnthropicActionProcessor.processSingleAction
(String promptText, String actionName) GeminiV2ActionProcessor.processSingleAction
(String prompt) GeminiV2ActionProcessor.processSingleAction
(String promptText, AIAction action) GeminiV2ActionProcessor.processSingleAction
(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) 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) OpenAiActionProcessor.processSingleAction
(String prompt) OpenAiActionProcessor.processSingleAction
(String promptText, AIAction action) OpenAiActionProcessor.processSingleAction
(String prompt, AIAction action, HumanInLoop humanVerification, ExplainDecision explain) 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 String
default String
-
Uses of AIProcessingException in com.t4a.processor.scripts
Methods in com.t4a.processor.scripts that throw AIProcessingExceptionModifier and TypeMethodDescriptionvoid
ScriptProcessor.processCommands
(ScriptCallback callback, BufferedReader reader, ScriptResult result) void
SeleniumScriptProcessor.processCommands
(ScriptCallback callback, BufferedReader reader, ScriptResult result) -
Uses of AIProcessingException in com.t4a.processor.selenium
Methods in com.t4a.processor.selenium that throw AIProcessingExceptionModifier and TypeMethodDescriptiondefault String
SeleniumProcessor.getStringFromPrompt
(String prompt, String key) default void
SeleniumProcessor.processWebAction
(String prompt) boolean
SeleniumGeminiProcessor.trueFalseQuery
(String question) boolean
SeleniumOpenAIProcessor.trueFalseQuery
(String question) boolean
SeleniumProcessor.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 String
PromptTransformer.transformIntoJson
(String jsonString, String promptText) PromptTransformer.transformIntoJson
(String jsonString, String promptText, String funName, String description) GeminiV2PromptTransformer.transformIntoJsonWithValues
(String promptText, String... name) default Object
PromptTransformer.transformIntoPojo
(String prompt, Class<?> clazz) default Object
PromptTransformer.transformIntoPojo
(String prompt, String className) default Object
PromptTransformer.transformIntoPojo
(String prompt, String className, String funName, String description)