Index

A B C D E F G H I J L M O P Q R S T V W Z 
All Classes and Interfaces|All Packages|Serialized Form

A

action(GenerateContentResponse, AIAction) - Method in class com.t4a.api.JavaMethodExecutor
This method invokes the action based on the type of the action.
action(GenerateContentResponse, String) - Method in class com.t4a.api.JavaClassExecutor
 
action(Object[], AIAction) - Method in class com.t4a.api.JavaMethodExecutor
 
action(String, AIAction) - Method in class com.t4a.api.JavaMethodExecutor
 
ActionGroup - Class in com.t4a.api
 
ActionGroup(String) - Constructor for class com.t4a.api.ActionGroup
 
ActionGroup(String, String) - Constructor for class com.t4a.api.ActionGroup
 
ActionKey - Class in com.t4a.api
 
ActionKey(AIAction) - Constructor for class com.t4a.api.ActionKey
 
ActionList - Class in com.t4a.api
 
ActionList() - Constructor for class com.t4a.api.ActionList
 
actionName() - Element in annotation interface com.t4a.annotations.Predict
 
ActionRisk - Enum Class in com.t4a.api
Action Risk , all medium risk aciton will need one human verification, high will need two
ActionType - Enum Class in com.t4a.api
All Types of actions implemented so far
ActivateLoader - Annotation Interface in com.t4a.annotations
use this annotation to mark the loader as active
addAction(ActionKey) - Method in class com.t4a.api.ActionGroup
 
addAction(AIAction) - Method in class com.t4a.api.ActionGroup
 
addAction(AIAction) - Method in class com.t4a.api.ActionList
 
addResult(ScriptLineResult) - Method in class com.t4a.processor.scripts.ScriptResult
 
addResult(String, String) - Method in class com.t4a.processor.scripts.ScriptResult
 
AIAction - Interface in com.t4a.api
This is the key class in creating all the AI related action.
AIActionExecutor - Interface in com.t4a.api
Marker interface for executors
AIPlatform - Enum Class in com.t4a.api
Multi Cloud AI platform
AIProcessingException - Exception Class in com.t4a.processor
 
AIProcessingException(Exception) - Constructor for exception class com.t4a.processor.AIProcessingException
 
AIProcessingException(String) - Constructor for exception class com.t4a.processor.AIProcessingException
 
AIProcessor - Interface in com.t4a.processor
 
allow(String, String, String) - Method in interface com.t4a.detect.HumanInLoop
 
allow(String, String, String) - Method in class com.t4a.processor.LoggingHumanDecision
 
allow(String, String, Map<String, Object>) - Method in interface com.t4a.detect.HumanInLoop
 
allow(String, String, Map<String, Object>) - Method in class com.t4a.processor.LoggingHumanDecision
 
ANTHROPIC - Enum constant in enum class com.t4a.api.AIPlatform
 
AnthropicActionProcessor - Class in com.t4a.processor
 
AnthropicActionProcessor() - Constructor for class com.t4a.processor.AnthropicActionProcessor
 
AnthropicActionProcessor(Gson) - Constructor for class com.t4a.processor.AnthropicActionProcessor
 
AnthropicTransformer - Class in com.t4a.transform
 
AnthropicTransformer() - Constructor for class com.t4a.transform.AnthropicTransformer
 
AnthropicTransformer(Gson) - Constructor for class com.t4a.transform.AnthropicTransformer
 
askAdditionalQuestion(String) - Method in class com.t4a.action.BlankAction
 
askQuestions(String[]) - Method in class com.t4a.detect.HallucinationAction
 

B

BIAS - Enum constant in enum class com.t4a.api.ActionType
 
BiasDetector - Class in com.t4a.detect
 
BiasDetector() - Constructor for class com.t4a.detect.BiasDetector
 
BlankAction - Class in com.t4a.action
This Action can be used when you want the AI to get back with answer and if you do not have any specific action to be performed.
BlankAction() - Constructor for class com.t4a.action.BlankAction
 
buildBlankListJsonObject(Field) - Method in class com.t4a.JsonUtils
 
buildBlankMapJsonObject(Field) - Method in class com.t4a.JsonUtils
 
buildFunction(AIAction) - Method in class com.t4a.api.JavaMethodExecutor
Take the AIAction class and based on the type it returns a FunctionDeclaration for Gemini
buildFunction(Map<String, Object>, String, String) - Method in class com.t4a.api.JavaClassExecutor
 
buildFunctionFromClass(String, String, String) - Method in class com.t4a.api.JavaClassExecutor
 
buildListFromJsonArray(JSONArray, List) - Method in class com.t4a.JsonUtils
 
buildMapFromJsonArray(JSONArray, Map) - Method in class com.t4a.JsonUtils
 

C

calculateTruthPercent() - Method in class com.t4a.detect.HallucinationQA
 
canBeExecutedParallely() - Method in class com.t4a.processor.chain.SubPrompt
 
CLEAR - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
CLICK - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
com.t4a - package com.t4a
 
com.t4a.action - package com.t4a.action
 
com.t4a.action.http - package com.t4a.action.http
 
com.t4a.action.shell - package com.t4a.action.shell
 
com.t4a.annotations - package com.t4a.annotations
 
com.t4a.api - package com.t4a.api
 
com.t4a.detect - package com.t4a.detect
 
com.t4a.predict - package com.t4a.predict
 
com.t4a.processor - package com.t4a.processor
 
com.t4a.processor.chain - package com.t4a.processor.chain
 
com.t4a.processor.scripts - package com.t4a.processor.scripts
 
com.t4a.processor.selenium - package com.t4a.processor.selenium
 
com.t4a.processor.spring - package com.t4a.processor.spring
 
com.t4a.transform - package com.t4a.transform
 
CONNECT - Enum constant in enum class com.t4a.action.http.HttpMethod
 
convertClassObjectToJsonString(Schema) - Method in class com.t4a.JsonUtils
 
convertClassToJSONString(Class<?>) - Method in class com.t4a.JsonUtils
 
convertMethodTOJsonString(Method) - Method in class com.t4a.JsonUtils
 
createJson(String) - Method in class com.t4a.JsonUtils
{ 'fieldName':'name', 'fieldValue':'' }
createJson(String...) - Method in class com.t4a.JsonUtils
This will extract the values for the names from the prompt for example if your prompt is like this "My name is vishal and I live in Canada" You can pass the keys like name,location { fields : [ { 'fieldName':'name', 'fieldValue':'' } , { 'fieldName':'name', 'fieldValue':'' } ] }
createPOJO(JSONArray, Class<?>) - Method in class com.t4a.api.JavaMethodInvoker
 

D

dateFormat() - Element in annotation interface com.t4a.annotations.Prompt
 
DELETE - Enum constant in enum class com.t4a.action.http.HttpMethod
 
describe() - Element in annotation interface com.t4a.annotations.Prompt
 
description() - Element in annotation interface com.t4a.annotations.Predict
 
DetectorAction - Interface in com.t4a.api
Base class for AI Hallucination and Bias detection
detectPathType(String) - Static method in class com.t4a.action.shell.ShellPredictedAction
 
DetectValueRes - Class in com.t4a.detect
 
DetectValueRes() - Constructor for class com.t4a.detect.DetectValueRes
 
DetectValues - Class in com.t4a.detect
 
DetectValues() - Constructor for class com.t4a.detect.DetectValues
 
DriverActions - Class in com.t4a.processor.selenium
 
DriverActions() - Constructor for class com.t4a.processor.selenium.DriverActions
 

E

equals(Object) - Method in class com.t4a.action.http.HttpPredictedAction
 
equals(Object) - Method in class com.t4a.api.ActionGroup
 
equals(Object) - Method in class com.t4a.api.ActionKey
 
equals(Object) - Method in class com.t4a.api.GroupInfo
 
equals(Object) - Method in class com.t4a.processor.chain.SubPrompt
 
execute(DetectValues) - Method in interface com.t4a.api.DetectorAction
 
execute(DetectValues) - Method in class com.t4a.detect.BiasDetector
 
execute(DetectValues) - Method in class com.t4a.detect.FactDetector
 
execute(DetectValues) - Method in class com.t4a.detect.ZeroShotHallucinationDetector
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
executeHttpRequest(Map<String, Object>) - Method in class com.t4a.action.http.HttpPredictedAction
THis method will be automatically called by the processor , the params are populated by AI directly for example if the prompt was "hey hows the weather in Toronto on Sunday , 8th Sep" and your inputParams are "input_object":[ { "name": "city", "type": "query_parameter", "description": "City Name" }, { "name": "date", "type": "query_parameter", "description": "date" } Then those params will get automatically mapped
executeShell(String[]) - Method in class com.t4a.action.shell.ShellPredictedAction
 
explain(String, String, String) - Method in interface com.t4a.detect.ExplainDecision
 
explain(String, String, String) - Method in class com.t4a.processor.LogginggExplainDecision
 
explainAction(String, String) - Method in class com.t4a.predict.PredictionLoader
 
ExplainDecision - Interface in com.t4a.detect
The ExplainDecision interface represents a mechanism for AI to explain decisions regarding a particular prompt text, method name, and reason.
EXTEND - Enum constant in enum class com.t4a.api.ActionType
 
extendedExecute(Map<String, Object>) - Method in class com.t4a.action.ExtendedPredictedAction
This will be last method called during the invocation of function, we already have all the data
ExtendedInputParameter - Class in com.t4a.action
 
ExtendedInputParameter() - Constructor for class com.t4a.action.ExtendedInputParameter
 
ExtendedPredictedAction - Class in com.t4a.action
Shell, HTTP and Java Methods are supported by default out of the box most of the tasks could be accomplished by the same however there might be a situation or use case to create custom set of actions *Please note* this is different from Custom actions.
ExtendedPredictedAction() - Constructor for class com.t4a.action.ExtendedPredictedAction
 
ExtendedPredictionLoader - Interface in com.t4a.predict
 
extractJson(String) - Method in class com.t4a.JsonUtils
 

F

FACT - Enum constant in enum class com.t4a.api.ActionType
 
FactDetector - Class in com.t4a.detect
 
FactDetector() - Constructor for class com.t4a.detect.FactDetector
 
FeedbackLoop - Interface in com.t4a.detect
 
fetchActionName(String) - Method in class com.t4a.JsonUtils
 
fetchActionNameFromList(String) - Method in class com.t4a.predict.PredictionLoader
 
fetchGroupName(String) - Method in class com.t4a.JsonUtils
 
FILE - Enum constant in enum class com.t4a.api.ActionType
 
FINDELEMENT - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
FINDELEMENTS - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 

G

GEMINI - Enum constant in enum class com.t4a.api.AIPlatform
 
GeminiActionProcessor - Class in com.t4a.processor
The main processor class, can execute single action or multiple action in sequence Uses Gemini Function calling - based on prompt can predict and trigger action - based on prompt can predict and trigger multiple actions sequentially - based on prompt can predict and trigger multiple actions parallely - Can take HumanInLoop object and wait for Human Validation - Can take ExplainDecision Object and provide why the decision was taken by AI
GeminiActionProcessor() - Constructor for class com.t4a.processor.GeminiActionProcessor
 
GeminiGuardRails - Class in com.t4a.api
Uses Gemini to check the user prompts
GeminiGuardRails() - Constructor for class com.t4a.api.GeminiGuardRails
 
GeminiImageActionProcessor - Class in com.t4a.processor
Take actions based on images
GeminiImageActionProcessor() - Constructor for class com.t4a.processor.GeminiImageActionProcessor
 
GeminiPromptTransformer - Class in com.t4a.transform
This class takes a prompt and can build Java Pojo out of it, it could also transform the prompt into json with name and value so if you pass it a json like this String jsonString = "{\"lastName\":\"String\",\"firstName\":\"String\",\"reasonForCalling\":\"String\",\"dateJoined\":\"date\",\"location\":\"String\"}"; and then pass a prompt I went to the part yesterday and met someone it was so good to meet an old friend.
GeminiPromptTransformer() - Constructor for class com.t4a.transform.GeminiPromptTransformer
 
GeminiPromptTransformer(Gson) - Constructor for class com.t4a.transform.GeminiPromptTransformer
 
GeminiV2ActionProcessor - Class in com.t4a.processor
 
GeminiV2ActionProcessor() - Constructor for class com.t4a.processor.GeminiV2ActionProcessor
 
GeminiV2ActionProcessor(Gson) - Constructor for class com.t4a.processor.GeminiV2ActionProcessor
 
GeminiV2PromptTransformer - Class in com.t4a.transform
This class takes a prompt and can build Java Pojo out of it, it could also transform the prompt into json with name and value so if you pass it a json like this String jsonString = "{\"lastName\":\"String\",\"firstName\":\"String\",\"reasonForCalling\":\"String\",\"dateJoined\":\"date\",\"location\":\"String\"}"; and then pass a prompt I went to the part yesterday and met someone it was so good to meet an old friend.
GeminiV2PromptTransformer() - Constructor for class com.t4a.transform.GeminiV2PromptTransformer
 
GeminiV2PromptTransformer(Gson) - Constructor for class com.t4a.transform.GeminiV2PromptTransformer
 
GET - Enum constant in enum class com.t4a.action.http.HttpMethod
 
GET - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
getAction() - Method in class com.t4a.api.JavaMethodExecutor
 
getActionGroup() - Method in class com.t4a.action.http.HttpPredictedAction
 
getActionGroup() - Method in class com.t4a.action.shell.ShellPredictedAction
 
getActionGroup() - Method in interface com.t4a.api.AIAction
 
getActionGroup() - Method in interface com.t4a.api.JavaMethodAction
 
getActionGroupList() - Method in class com.t4a.predict.PredictionLoader
 
getActionList() - Method in class com.t4a.processor.GeminiActionProcessor
Return all the actions comma seperated
getActionName() - Method in class com.t4a.action.BlankAction
 
getActionName() - Method in class com.t4a.action.shell.ShellPredictedAction
 
getActionName() - Method in interface com.t4a.api.AIAction
 
getActionName() - Method in interface com.t4a.api.DetectorAction
 
getActionName() - Method in interface com.t4a.api.JavaMethodAction
 
getActionName() - Method in class com.t4a.detect.HallucinationAction
 
getActionNameList() - Method in class com.t4a.predict.PredictionLoader
 
getActionParams(AIAction, String, AIPlatform, Map<String, Object>) - Method in class com.t4a.predict.PredictionLoader
 
getActionRisk() - Method in interface com.t4a.api.AIAction
By default return low action risk so that it can pass without human verification
getActionRisk() - Method in interface com.t4a.api.JavaMethodAction
 
getActionType() - Method in class com.t4a.action.BlankAction
 
getActionType() - Method in class com.t4a.action.ExtendedPredictedAction
 
getActionType() - Method in class com.t4a.action.http.HttpPredictedAction
 
getActionType() - Method in class com.t4a.action.shell.ShellPredictedAction
 
getActionType() - Method in interface com.t4a.api.AIAction
 
getActionType() - Method in interface com.t4a.api.JavaMethodAction
 
getActionType() - Method in class com.t4a.detect.BiasDetector
 
getActionType() - Method in class com.t4a.detect.FactDetector
 
getActionType() - Method in class com.t4a.detect.HallucinationAction
 
getActionType() - Method in class com.t4a.detect.ZeroShotHallucinationDetector
 
getAiAction(String) - Method in class com.t4a.predict.PredictionLoader
 
GETATTRIBUTE - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
getBuild(Type, String) - Method in class com.t4a.api.JavaActionExecutor
Create schema from single property
getBuild(Map<String, Object>) - Method in class com.t4a.api.JavaActionExecutor
 
getBuildForJson(Map<String, Object>) - Method in class com.t4a.api.JavaActionExecutor
Create Gemini Schema object this will be used to create funciton
getBuildFunction(String, String) - Method in class com.t4a.api.JavaActionExecutor
Create function from the funciton name and discription , this is the main method behind all the magic it builds based on the properties which are initially created using properties, this properties are created by the subclasses by mapping the method or java class.
getBuildFunction(Map<String, Object>, String, String) - Method in class com.t4a.api.JavaActionExecutor
 
getCommaSeparatedKeys(Map<String, ?>) - Method in class com.t4a.predict.PredictionLoader
 
getComplexActionParams(AIAction, String, AIPlatform, Map<String, Object>, Gson) - Method in class com.t4a.predict.PredictionLoader
 
getDepend_on() - Method in class com.t4a.processor.chain.SubPrompt
 
getDescription() - Method in class com.t4a.action.BlankAction
 
getDescription() - Method in class com.t4a.action.http.HttpPredictedAction
 
getDescription() - Method in class com.t4a.action.shell.ShellPredictedAction
 
getDescription() - Method in interface com.t4a.api.AIAction
Provide a detailed description of this action name
getDescription() - Method in interface com.t4a.api.JavaMethodAction
 
getDescription() - Method in class com.t4a.detect.BiasDetector
 
getDescription() - Method in class com.t4a.detect.FactDetector
 
getDescription() - Method in class com.t4a.detect.HallucinationAction
 
getDescription() - Method in class com.t4a.detect.ZeroShotHallucinationDetector
 
getExtendedActions() - Method in interface com.t4a.predict.ExtendedPredictionLoader
 
getFieldValue(String, String) - Method in class com.t4a.JsonUtils
Returns back field value
getGeneratedFunction() - Method in class com.t4a.api.JavaMethodExecutor
 
getGroupDescription() - Method in interface com.t4a.api.AIAction
 
getGroupDescription() - Method in interface com.t4a.api.JavaMethodAction
 
getGson() - Method in class com.t4a.api.JavaActionExecutor
 
getGson() - Method in class com.t4a.api.JavaClassExecutor
 
getGson() - Method in class com.t4a.api.JavaMethodExecutor
 
getGson() - Method in class com.t4a.transform.GeminiPromptTransformer
 
getGson() - Method in class com.t4a.transform.GeminiV2PromptTransformer
 
getId() - Method in class com.t4a.processor.chain.SubPrompt
 
getInputParameters() - Method in class com.t4a.action.ExtendedPredictedAction
 
getInstance() - Static method in class com.t4a.predict.PredictionLoader
 
getInstance(ApplicationContext) - Static method in class com.t4a.predict.PredictionLoader
 
getJsonObject(Class<?>) - Method in class com.t4a.JsonUtils
 
getLocation() - Method in class com.t4a.predict.PredictionLoader
 
getMimeType() - Method in enum class com.t4a.api.MimeType
 
getModelName() - Method in class com.t4a.predict.PredictionLoader
 
getMultiStepResult(String) - Method in class com.t4a.predict.PredictionLoader
 
getPredictedAction(String) - Method in class com.t4a.predict.PredictionLoader
 
getPredictedAction(String, int) - Method in class com.t4a.predict.PredictionLoader
 
getPredictedAction(String, AIPlatform) - Method in class com.t4a.predict.PredictionLoader
 
getPredictedActionMultiStep(String) - Method in class com.t4a.predict.PredictionLoader
 
getPredictions() - Method in class com.t4a.predict.PredictionLoader
 
getPrmpt() - Method in class com.t4a.processor.chain.Prompt
 
getProjectId() - Method in class com.t4a.predict.PredictionLoader
 
getProperties() - Method in class com.t4a.api.JavaActionExecutor
 
getProperties() - Method in class com.t4a.api.JavaClassExecutor
 
getProperties() - Method in class com.t4a.api.JavaMethodExecutor
 
getPropertyValuesJsonString(GenerateContentResponse) - Method in class com.t4a.api.JavaActionExecutor
 
getPropertyValuesJsonString(GenerateContentResponse, boolean) - Method in class com.t4a.api.JavaActionExecutor
 
getPropertyValuesMap(GenerateContentResponse) - Method in class com.t4a.api.JavaActionExecutor
Fetches the values populated by gemini into the function , this will get mapped to a MAP which can then converted to json or invoke method or make http call
getPropertyValuesMap(String) - Method in class com.t4a.api.JavaActionExecutor
 
getPropertyValuesMapMap(GenerateContentResponse) - Method in class com.t4a.api.JavaActionExecutor
 
getSubprompt() - Method in class com.t4a.processor.chain.SubPrompt
 
GETTEXT - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
getValueFor(byte[], String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
GIF - Enum constant in enum class com.t4a.api.MimeType
 
GOOGLE - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
 
groupDescription() - Element in annotation interface com.t4a.annotations.Predict
 
GroupInfo - Class in com.t4a.api
 
GroupInfo() - Constructor for class com.t4a.api.GroupInfo
 
groupName() - Element in annotation interface com.t4a.annotations.Predict
 
GuardRailException - Exception Class in com.t4a.api
If guard rails are broken
GuardRailException() - Constructor for exception class com.t4a.api.GuardRailException
 
GuardRails - Interface in com.t4a.api
Interface for checking guard rails

H

HALLUCINATION - Enum constant in enum class com.t4a.api.ActionType
 
HallucinationAction - Class in com.t4a.detect
 
HallucinationAction() - Constructor for class com.t4a.detect.HallucinationAction
 
HallucinationDetectorType - Enum Class in com.t4a.detect
 
HallucinationQA - Class in com.t4a.detect
 
HallucinationQA() - Constructor for class com.t4a.detect.HallucinationQA
 
hasDefaultValue() - Method in class com.t4a.action.ExtendedInputParameter
 
hasDefaultValue() - Method in class com.t4a.action.http.InputParameter
 
hashCode() - Method in class com.t4a.action.http.HttpPredictedAction
 
hashCode() - Method in class com.t4a.api.ActionGroup
 
hashCode() - Method in class com.t4a.api.ActionKey
 
hashCode() - Method in class com.t4a.api.GroupInfo
 
hashCode() - Method in class com.t4a.processor.chain.SubPrompt
 
HEAD - Enum constant in enum class com.t4a.action.http.HttpMethod
 
HIGH - Enum constant in enum class com.t4a.api.ActionRisk
 
HTML - Enum constant in enum class com.t4a.api.MimeType
 
HTTP - Enum constant in enum class com.t4a.api.ActionType
 
HttpMethod - Enum Class in com.t4a.action.http
 
HttpPredictedAction - Class in com.t4a.action.http
This is a Generic Http Action Class , it will be built from the config file.
HttpPredictedAction(String, String, HttpMethod, List<InputParameter>, JsonObject, JsonObject, String) - Constructor for class com.t4a.action.http.HttpPredictedAction
 
HttpRestPredictionLoader - Class in com.t4a.predict
 
HttpRestPredictionLoader() - Constructor for class com.t4a.predict.HttpRestPredictionLoader
 
HumanInLoop - Interface in com.t4a.detect
The HumanInLoop interface represents a mechanism for allowing human involvement in a feedback loop process.

I

ignore() - Element in annotation interface com.t4a.annotations.Prompt
 
imageToJson(URL, Class) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToJson(URL, String...) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToPojo(URL, Class) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToText(byte[]) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToText(byte[], String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToText(byte[], String, String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToText(String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToText(String, String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToText(URL) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
imageToText(URL, String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
InputParameter - Class in com.t4a.action.http
Maps to Input parameter in the config file, this is the input which will be sent to HTTP request
InputParameter(String, String, String) - Constructor for class com.t4a.action.http.InputParameter
 
isAIResponseValid() - Method in interface com.t4a.detect.FeedbackLoop
 
isComplexMethod() - Method in interface com.t4a.api.JavaMethodAction
 
ISDISPLAYED - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
ISENABLED - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
ISSELECTED - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 

J

JavaActionExecutor - Class in com.t4a.api
This is the base class for all the java based executors with common functionality
JavaActionExecutor() - Constructor for class com.t4a.api.JavaActionExecutor
 
JAVACLASS - Enum constant in enum class com.t4a.api.ActionType
 
JavaClassExecutor - Class in com.t4a.api
Create a POJO Object from the response object
JavaClassExecutor() - Constructor for class com.t4a.api.JavaClassExecutor
 
JavaClassExecutor(Gson) - Constructor for class com.t4a.api.JavaClassExecutor
 
JAVAMETHOD - Enum constant in enum class com.t4a.api.ActionType
 
JavaMethodAction - Interface in com.t4a.api
 
JavaMethodExecutor - Class in com.t4a.api
This is one of the main classes which is part of processing logic.
JavaMethodExecutor() - Constructor for class com.t4a.api.JavaMethodExecutor
 
JavaMethodExecutor(Gson) - Constructor for class com.t4a.api.JavaMethodExecutor
 
JavaMethodInvoker - Class in com.t4a.api
 
JavaMethodInvoker() - Constructor for class com.t4a.api.JavaMethodInvoker
 
JPEG - Enum constant in enum class com.t4a.api.MimeType
 
JsonUtils - Class in com.t4a
 
JsonUtils() - Constructor for class com.t4a.JsonUtils
 

L

lineResult(String) - Method in interface com.t4a.processor.scripts.ScriptCallback
 
ListType - Annotation Interface in com.t4a.annotations
 
load(Map<String, AIAction>, StringBuffer) - Method in class com.t4a.predict.HttpRestPredictionLoader
 
load(Map<String, AIAction>, StringBuffer, ActionList) - Method in class com.t4a.predict.ShellPredictionLoader
 
load(Map<String, AIAction>, StringBuffer, ActionList) - Method in class com.t4a.predict.SwaggerPredictionLoader
 
LoaderException - Exception Class in com.t4a.predict
 
LoaderException() - Constructor for exception class com.t4a.predict.LoaderException
 
LoaderException(String) - Constructor for exception class com.t4a.predict.LoaderException
 
LoaderException(String, Throwable) - Constructor for exception class com.t4a.predict.LoaderException
 
LoaderException(String, Throwable, boolean, boolean) - Constructor for exception class com.t4a.predict.LoaderException
 
LoaderException(Throwable) - Constructor for exception class com.t4a.predict.LoaderException
 
loadFromAbsolutePath(String) - Method in class com.t4a.action.shell.ShellPredictedAction
 
loadFromClasspath(String) - Method in class com.t4a.action.shell.ShellPredictedAction
 
loadScript(String) - Method in class com.t4a.action.shell.ShellPredictedAction
 
loadURL(String, Map<String, AIAction>, StringBuffer, String, Map<String, String>, String, String, ActionList) - Method in class com.t4a.predict.SwaggerPredictionLoader
 
loadYamlFile(Map<String, AIAction>, StringBuffer, ActionList) - Method in class com.t4a.predict.ShellPredictionLoader
 
LOCALAI - Enum constant in enum class com.t4a.api.AIPlatform
 
LocalAIActionProcessor - Class in com.t4a.processor
 
LocalAIActionProcessor() - Constructor for class com.t4a.processor.LocalAIActionProcessor
 
LogginggExplainDecision - Class in com.t4a.processor
 
LogginggExplainDecision() - Constructor for class com.t4a.processor.LogginggExplainDecision
 
LoggingHumanDecision - Class in com.t4a.processor
Simple implementation of Human IN Loop, all it does is logging but in real world this could trigger a full human validation and return true or false
LoggingHumanDecision() - Constructor for class com.t4a.processor.LoggingHumanDecision
 
LOW - Enum constant in enum class com.t4a.api.ActionRisk
 

M

main(String[]) - Static method in class com.t4a.detect.ZeroShotHallucinationDetector
 
mapClassToFun(String, String, String) - Method in class com.t4a.api.JavaActionExecutor
 
MapKeyType - Annotation Interface in com.t4a.annotations
 
mapMethod(HttpPredictedAction) - Method in class com.t4a.api.JavaMethodExecutor
 
mapMethod(AIAction) - Method in class com.t4a.api.JavaMethodExecutor
 
mapType(Class<?>) - Method in class com.t4a.api.JavaActionExecutor
Map Java type to Gemini type
mapType(String) - Method in class com.t4a.api.JavaActionExecutor
Map String to Gemini type
mapTypeForPojo(Class<?>) - Method in class com.t4a.api.JavaActionExecutor
 
MapValueType - Annotation Interface in com.t4a.annotations
 
MEDIUM - Enum constant in enum class com.t4a.api.ActionRisk
 
MimeType - Enum Class in com.t4a.api
 
MS_WORD - Enum constant in enum class com.t4a.api.MimeType
 

O

OPEN_DOCUMENT_TEXT - Enum constant in enum class com.t4a.api.MimeType
 
OPENAI - Enum constant in enum class com.t4a.api.AIPlatform
 
OpenAiActionProcessor - Class in com.t4a.processor
Uses Json conversion to convert method and java pojo to jsons and then call the openai , your objects have complex parameters like custom dates etc then its better to pass a custom GSON , otherwise it will use the default gson
OpenAiActionProcessor() - Constructor for class com.t4a.processor.OpenAiActionProcessor
 
OpenAiActionProcessor(Gson) - Constructor for class com.t4a.processor.OpenAiActionProcessor
 
OpenAIPromptTransformer - Class in com.t4a.transform
 
OpenAIPromptTransformer() - Constructor for class com.t4a.transform.OpenAIPromptTransformer
 
OpenAIPromptTransformer(Gson) - Constructor for class com.t4a.transform.OpenAIPromptTransformer
 
OPTIONS - Enum constant in enum class com.t4a.action.http.HttpMethod
 

P

ParamLocation - Enum Class in com.t4a.action.http
 
parse(String) - Method in class com.t4a.api.JavaMethodInvoker
 
parseConfig(Map<String, AIAction>, StringBuffer) - Method in class com.t4a.predict.HttpRestPredictionLoader
 
parseConfig(Map<String, AIAction>, StringBuffer, ActionList) - Method in class com.t4a.predict.SwaggerPredictionLoader
 
PATCH - Enum constant in enum class com.t4a.action.http.HttpMethod
 
PATH - Enum constant in enum class com.t4a.action.http.ParamLocation
 
PDF - Enum constant in enum class com.t4a.api.MimeType
 
PNG - Enum constant in enum class com.t4a.api.MimeType
 
populateClassFromJson(String) - Method in class com.t4a.JsonUtils
 
populateObject(Class, JSONObject) - Method in class com.t4a.JsonUtils
 
populateObject(JSONObject) - Method in class com.t4a.JsonUtils
 
POST - Enum constant in enum class com.t4a.action.http.HttpMethod
 
postActionProcessing(AIAction, String, AIPlatform, String) - Method in class com.t4a.predict.PredictionLoader
 
Predict - Annotation Interface in com.t4a.annotations
 
PredictedAIAction - Interface in com.t4a.api
Just a marker interface to denote that the implementing classes will be predicted by default.
PredictionLoader - Class in com.t4a.predict
The PredictionLoader class is responsible for managing the prediction process by interacting with various prediction models and loading actions based on predictions.
process(String) - Method in class com.t4a.processor.scripts.ScriptProcessor
 
process(String, ScriptCallback) - Method in class com.t4a.processor.scripts.ScriptProcessor
 
processCP() - Method in class com.t4a.predict.PredictionLoader
 
processMultipleAction(String, int) - Method in class com.t4a.processor.GeminiActionProcessor
 
processMultipleAction(String, int, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.GeminiActionProcessor
 
processMultipleActionDynamically(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.GeminiActionProcessor
Converts one big prompt into JSON and process them as single prompts one by one or parallely based on dependency order
processSingleAction(String) - Method in interface com.t4a.processor.AIProcessor
 
processSingleAction(String) - Method in class com.t4a.processor.AnthropicActionProcessor
 
processSingleAction(String) - Method in class com.t4a.processor.GeminiActionProcessor
Process Multiple actions sequentially based on prediction
processSingleAction(String) - Method in class com.t4a.processor.GeminiV2ActionProcessor
 
processSingleAction(String) - Method in class com.t4a.processor.LocalAIActionProcessor
 
processSingleAction(String) - Method in class com.t4a.processor.OpenAiActionProcessor
 
processSingleAction(String) - Method in class com.t4a.processor.TextProcessor
 
processSingleAction(String, AIAction) - Method in class com.t4a.processor.AnthropicActionProcessor
 
processSingleAction(String, AIAction) - Method in class com.t4a.processor.GeminiActionProcessor
Directly pass the action object with the prompt , this is useful in case of spring beans as the actions can be initialized as spring boot as beans with other dependency
processSingleAction(String, AIAction) - Method in class com.t4a.processor.GeminiV2ActionProcessor
 
processSingleAction(String, AIAction) - Method in class com.t4a.processor.OpenAiActionProcessor
 
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in interface com.t4a.processor.AIProcessor
 
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.AnthropicActionProcessor
 
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.GeminiActionProcessor
Process single action based on prediction
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.GeminiV2ActionProcessor
 
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.LocalAIActionProcessor
 
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.OpenAiActionProcessor
 
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.TextProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in interface com.t4a.processor.AIProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.AnthropicActionProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.GeminiActionProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.GeminiV2ActionProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.LocalAIActionProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.OpenAiActionProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.TextProcessor
 
processSingleAction(String, String) - Method in class com.t4a.processor.AnthropicActionProcessor
 
processSingleAction(String, String) - Method in class com.t4a.processor.GeminiActionProcessor
Trigger the action by specifically passing the name, prediction wont be called .
processSingleAction(String, String) - Method in class com.t4a.processor.GeminiV2ActionProcessor
 
processSingleAction(String, String) - Method in class com.t4a.processor.OpenAiActionProcessor
 
processSingleNonJava(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.OpenAiActionProcessor
 
processWebAction(String) - Method in class com.t4a.processor.selenium.SeleniumProcessor
 
Prompt - Class in com.t4a.processor.chain
 
Prompt - Annotation Interface in com.t4a.annotations
 
Prompt() - Constructor for class com.t4a.processor.chain.Prompt
 
PromptTransformer - Interface in com.t4a.transform
 
protobufToMap(Map<String, Value>) - Method in class com.t4a.api.JavaActionExecutor
 
PUT - Enum constant in enum class com.t4a.action.http.HttpMethod
 

Q

query(String) - Method in interface com.t4a.processor.AIProcessor
 
query(String) - Method in class com.t4a.processor.AnthropicActionProcessor
 
query(String) - Method in class com.t4a.processor.GeminiActionProcessor
 
query(String) - Method in class com.t4a.processor.GeminiV2ActionProcessor
 
query(String) - Method in class com.t4a.processor.LocalAIActionProcessor
 
query(String) - Method in class com.t4a.processor.OpenAiActionProcessor
 
query(String) - Method in class com.t4a.processor.TextProcessor
 
query(String, String) - Method in interface com.t4a.processor.AIProcessor
 
QUERY - Enum constant in enum class com.t4a.action.http.ParamLocation
 

R

readImageFile(String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
readImageFileDeprecated(String) - Method in class com.t4a.processor.GeminiImageActionProcessor
 
replacePlaceholders(String, Map<String, Object>) - Method in class com.t4a.action.http.HttpPredictedAction
 
riskLevel() - Element in annotation interface com.t4a.annotations.Predict
 

S

ScriptCallback - Interface in com.t4a.processor.scripts
 
ScriptLineResult - Class in com.t4a.processor.scripts
 
ScriptLineResult() - Constructor for class com.t4a.processor.scripts.ScriptLineResult
 
ScriptProcessor - Class in com.t4a.processor.scripts
Processes action script line by line , previous result is validated
ScriptProcessor() - Constructor for class com.t4a.processor.scripts.ScriptProcessor
 
ScriptProcessor(Gson) - Constructor for class com.t4a.processor.scripts.ScriptProcessor
 
ScriptProcessor(Gson, AIProcessor) - Constructor for class com.t4a.processor.scripts.ScriptProcessor
 
ScriptProcessor(AIProcessor) - Constructor for class com.t4a.processor.scripts.ScriptProcessor
 
ScriptResult - Class in com.t4a.processor.scripts
 
ScriptResult() - Constructor for class com.t4a.processor.scripts.ScriptResult
 
SELECTBYINDEX - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
SELECTBYVALUE - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
SELECTBYVISIBLETEXT - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
SeleniumAction - Class in com.t4a.processor.selenium
 
SeleniumAction() - Constructor for class com.t4a.processor.selenium.SeleniumAction
 
SeleniumProcessor - Class in com.t4a.processor.selenium
 
SeleniumProcessor(WebDriver) - Constructor for class com.t4a.processor.selenium.SeleniumProcessor
 
SELF - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
 
SENDKEYS - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
setDepend_on(String) - Method in class com.t4a.processor.chain.SubPrompt
 
setId(String) - Method in class com.t4a.processor.chain.SubPrompt
 
setPrmpt(List<SubPrompt>) - Method in class com.t4a.processor.chain.Prompt
 
setSpringContext(ApplicationContext) - Method in class com.t4a.predict.PredictionLoader
 
setSubprompt(String) - Method in class com.t4a.processor.chain.SubPrompt
 
SHELL - Enum constant in enum class com.t4a.api.ActionType
 
ShellPredictedAction - Class in com.t4a.action.shell
Base class to execute shell commands , these configuration are part of shell_action.yaml.
ShellPredictedAction() - Constructor for class com.t4a.action.shell.ShellPredictedAction
 
ShellPredictionLoader - Class in com.t4a.predict
The ShellPredictionLoader class is responsible for loading shell actions from a YAML file and populating a map of predictions within the application.
ShellPredictionLoader() - Constructor for class com.t4a.predict.ShellPredictionLoader
 
SpringAnthropicProcessor - Class in com.t4a.processor.spring
 
SpringAnthropicProcessor(ApplicationContext) - Constructor for class com.t4a.processor.spring.SpringAnthropicProcessor
 
SpringGeminiProcessor - Class in com.t4a.processor.spring
This will ensure that the action classes are loaded from Spring Applicaiton Context rather than creating the new one , the advantage of that is we can maintain spring dependency injection for all the beans Uses Gemini for processing
SpringGeminiProcessor(ApplicationContext) - Constructor for class com.t4a.processor.spring.SpringGeminiProcessor
 
SpringOpenAIProcessor - Class in com.t4a.processor.spring
This will ensure that the action classes are loaded from Spring Applicaiton Context rather than creating the new one , the advantage of that is we can maintain spring dependency injection for all the beans Uses OpenAI for processing
SpringOpenAIProcessor(ApplicationContext) - Constructor for class com.t4a.processor.spring.SpringOpenAIProcessor
 
SUBMIT - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 
SubPrompt - Class in com.t4a.processor.chain
 
SubPrompt() - Constructor for class com.t4a.processor.chain.SubPrompt
 
summarize(ScriptResult) - Method in class com.t4a.processor.scripts.ScriptProcessor
 
summarize(String) - Method in interface com.t4a.processor.AIProcessor
 
SwaggerPredictionLoader - Class in com.t4a.predict
 
SwaggerPredictionLoader() - Constructor for class com.t4a.predict.SwaggerPredictionLoader
 
SWITCHTO - Enum constant in enum class com.t4a.processor.selenium.WebDriverAction
 

T

TEXT - Enum constant in enum class com.t4a.api.MimeType
 
TextProcessor - Class in com.t4a.processor
 
TextProcessor() - Constructor for class com.t4a.processor.TextProcessor
 
toString() - Method in class com.t4a.action.http.HttpPredictedAction
 
toString() - Method in class com.t4a.api.GroupInfo
 
toString() - Method in class com.t4a.processor.chain.Prompt
 
toString() - Method in class com.t4a.processor.chain.SubPrompt
 
TRACE - Enum constant in enum class com.t4a.action.http.HttpMethod
 
transformIntoJson(String, String) - Method in class com.t4a.transform.GeminiPromptTransformer
 
transformIntoJson(String, String) - Method in class com.t4a.transform.GeminiV2PromptTransformer
 
transformIntoJson(String, String, String, String) - Method in class com.t4a.transform.AnthropicTransformer
 
transformIntoJson(String, String, String, String) - Method in class com.t4a.transform.GeminiPromptTransformer
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"}
transformIntoJson(String, String, String, String) - Method in class com.t4a.transform.GeminiV2PromptTransformer
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"}
transformIntoJson(String, String, String, String) - Method in class com.t4a.transform.OpenAIPromptTransformer
 
transformIntoJson(String, String, String, String) - Method in interface com.t4a.transform.PromptTransformer
 
transformIntoJsonWithValues(String, String...) - Method in class com.t4a.transform.GeminiPromptTransformer
 
transformIntoJsonWithValues(String, String...) - Method in class com.t4a.transform.GeminiV2PromptTransformer
 
transformIntoPojo(String, Class) - Method in interface com.t4a.transform.PromptTransformer
 
transformIntoPojo(String, String) - Method in interface com.t4a.transform.PromptTransformer
 
transformIntoPojo(String, String, String, String) - Method in class com.t4a.transform.AnthropicTransformer
 
transformIntoPojo(String, String, String, String) - Method in class com.t4a.transform.GeminiPromptTransformer
Build a Java Pojo out of the Prompt
transformIntoPojo(String, String, String, String) - Method in class com.t4a.transform.GeminiV2PromptTransformer
Build a Java Pojo out of the Prompt
transformIntoPojo(String, String, String, String) - Method in class com.t4a.transform.OpenAIPromptTransformer
 
transformIntoPojo(String, String, String, String) - Method in interface com.t4a.transform.PromptTransformer
 
transformIntoPojoDeperecated(String, String, String, String) - Method in class com.t4a.transform.GeminiV2PromptTransformer
Build a Java Pojo out of the Prompt
trueFalseQuery(String) - Method in class com.t4a.processor.selenium.SeleniumProcessor
 

V

validateRequest(String) - Method in class com.t4a.api.GeminiGuardRails
 
validateRequest(String) - Method in interface com.t4a.api.GuardRails
 
validateResponse(String) - Method in class com.t4a.api.GeminiGuardRails
 
validateResponse(String) - Method in interface com.t4a.api.GuardRails
 
value() - Element in annotation interface com.t4a.annotations.ListType
 
value() - Element in annotation interface com.t4a.annotations.MapKeyType
 
value() - Element in annotation interface com.t4a.annotations.MapValueType
 
valueOf(String) - Static method in enum class com.t4a.action.http.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.action.http.ParamLocation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.api.ActionRisk
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.api.ActionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.api.AIPlatform
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.api.MimeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.detect.HallucinationDetectorType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.processor.selenium.WebDriverAction
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.t4a.action.http.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.t4a.action.http.ParamLocation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.t4a.api.ActionRisk
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.t4a.api.ActionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.t4a.api.AIPlatform
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.t4a.api.MimeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.t4a.detect.HallucinationDetectorType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.t4a.processor.selenium.WebDriverAction
Returns an array containing the constants of this enum class, in the order they are declared.

W

WebDriverAction - Enum Class in com.t4a.processor.selenium
 
webPageAction(DriverActions) - Method in class com.t4a.processor.selenium.SeleniumAction
 

Z

ZeroShotHallucinationDetector - Class in com.t4a.detect
This class is Zero Shot method designed to assess the consistency of responses generated by a Large Language Model (LLM) and detect potential hallucinations.
ZeroShotHallucinationDetector() - Constructor for class com.t4a.detect.ZeroShotHallucinationDetector
 
A B C D E F G H I J L M O P Q R S T V W Z 
All Classes and Interfaces|All Packages|Serialized Form