Index

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

A

action(GenerateContentResponse, AIAction) - Method in class com.t4a.api.JavaMethodExecutor
 
action(GenerateContentResponse, String) - Method in class com.t4a.api.JavaClassExecutor
 
action(ActionType, GuardRails, Map<String, Object>) - Method in class com.t4a.api.AITools
 
actionClass(String, String, String, String) - Method in class com.t4a.api.AITools
 
ActionProcessor - Class in com.t4a.processor
 
ActionProcessor() - Constructor for class com.t4a.processor.ActionProcessor
 
ActionType - Enum Class in com.t4a.api
 
AIAction - Interface in com.t4a.api
 
AIActionExecutor - Interface in com.t4a.api
 
AITools - Class in com.t4a.api
 
AITools() - Constructor for class com.t4a.api.AITools
 
AITools(String, String, String) - Constructor for class com.t4a.api.AITools
 
allow(String, String, Map<String, Object>) - Method in class com.t4a.processor.HumanInLoop
 
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
 
BlankAction() - Constructor for class com.t4a.action.BlankAction
 
buildFunciton(AIAction) - Method in class com.t4a.api.JavaMethodExecutor
 
buildFunction(String, String, String) - Method in class com.t4a.api.JavaClassExecutor
 

C

calculateTruthPercent() - Method in class com.t4a.detect.HallucinationQA
 
com.t4a.action - package com.t4a.action
 
com.t4a.action.db - package com.t4a.action.db
 
com.t4a.action.http - package com.t4a.action.http
 
com.t4a.action.shell - package com.t4a.action.shell
 
com.t4a.action.tibco - package com.t4a.action.tibco
 
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
 

D

DATABASE - Enum constant in enum class com.t4a.api.ActionType
 
DetectorAction - Interface in com.t4a.api
Base class for AI Hallucination and Bias detection
detectPathType(String) - Static method in class com.t4a.action.shell.ShellAction
 
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
 

E

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.GenericHttpAction
 
executeShell(String[]) - Method in class com.t4a.action.shell.ShellAction
 
expalin(String, String, Map<String, Object>) - Method in class com.t4a.processor.ExplainDecision
 
ExplainDecision - Class in com.t4a.processor
 
ExplainDecision() - Constructor for class com.t4a.processor.ExplainDecision
 

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
 
FILE - Enum constant in enum class com.t4a.api.ActionType
 

G

GeminiGuardRails - Class in com.t4a.api
Uses Gemini to check the user prompts
GeminiGuardRails() - Constructor for class com.t4a.api.GeminiGuardRails
 
GenericHttpAction - Class in com.t4a.action.http
 
GenericHttpAction(String, String, String, List<InputParameter>, JsonObject, JsonObject, String) - Constructor for class com.t4a.action.http.GenericHttpAction
 
getAction() - Method in class com.t4a.api.JavaMethodExecutor
 
getActionName() - Method in class com.t4a.action.BlankAction
 
getActionName() - Method in class com.t4a.action.db.MongoAction
 
getActionName() - Method in class com.t4a.action.shell.ShellAction
 
getActionName() - Method in class com.t4a.action.tibco.TibcoAction
 
getActionName() - Method in interface com.t4a.api.AIAction
 
getActionName() - Method in interface com.t4a.api.DetectorAction
 
getActionName() - Method in class com.t4a.detect.HallucinationAction
 
getActionNameList() - Method in class com.t4a.predict.PredictionLoader
 
getActionType() - Method in class com.t4a.action.BlankAction
 
getActionType() - Method in class com.t4a.action.db.MongoAction
 
getActionType() - Method in class com.t4a.action.http.GenericHttpAction
 
getActionType() - Method in class com.t4a.action.shell.ShellAction
 
getActionType() - Method in class com.t4a.action.tibco.TibcoAction
 
getActionType() - Method in interface com.t4a.api.AIAction
 
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
 
getBuild(Type, String) - Method in class com.t4a.api.JavaActionExecutor
Create schema from single property
getBuild(Map<String, Type>) - 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.
getDefaultExecutorMethodName() - Method in class com.t4a.action.http.GenericHttpAction
 
getDefaultExecutorMethodName() - Method in class com.t4a.action.shell.ShellAction
 
getDescription() - Method in class com.t4a.action.BlankAction
 
getDescription() - Method in class com.t4a.action.db.MongoAction
 
getDescription() - Method in class com.t4a.action.http.GenericHttpAction
 
getDescription() - Method in class com.t4a.action.shell.ShellAction
 
getDescription() - Method in class com.t4a.action.tibco.TibcoAction
 
getDescription() - Method in interface com.t4a.api.AIAction
 
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
 
getGeneratedFunction() - Method in class com.t4a.api.JavaMethodExecutor
 
getGson() - Method in class com.t4a.api.JavaActionExecutor
 
getGson() - Method in class com.t4a.api.JavaClassExecutor
 
getGson() - Method in class com.t4a.api.JavaMethodExecutor
 
getInstance(String, String, String) - Static 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
 
getPredictions() - 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
GOOGLE - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
 
GuardRailException - Exception Class in com.t4a.api
 
GuardRailException() - Constructor for exception class com.t4a.api.GuardRailException
 
GuardRails - Interface in com.t4a.api
 

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.http.InputParameter
 
HTTP - Enum constant in enum class com.t4a.api.ActionType
 
HumanInLoop - Class in com.t4a.processor
 
HumanInLoop() - Constructor for class com.t4a.processor.HumanInLoop
 

I

InputParameter - Class in com.t4a.action.http
 
InputParameter(String, String, String) - Constructor for class com.t4a.action.http.InputParameter
 
insertCustomerComplaint(String, String) - Method in class com.t4a.action.db.MongoAction
 

J

JavaActionExecutor - Class in com.t4a.api
This is the base class for all the bridges will implement 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
 
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
 
JavaMethodExecutor - Class in com.t4a.api
 
JavaMethodExecutor() - Constructor for class com.t4a.api.JavaMethodExecutor
 
JavaMethodExecutor(Gson) - Constructor for class com.t4a.api.JavaMethodExecutor
 

L

load(Map<String, PredictOptions>, StringBuffer) - Method in class com.t4a.predict.ShellPredictionLoader
 
loadFromAbsolutePath(String) - Method in class com.t4a.action.shell.ShellAction
 
loadFromClasspath(String) - Method in class com.t4a.action.shell.ShellAction
 
loadScript(String) - Method in class com.t4a.action.shell.ShellAction
 
loadYamlFile(Map<String, PredictOptions>, StringBuffer) - Method in class com.t4a.predict.ShellPredictionLoader
 

M

main(String[]) - Static method in class com.t4a.action.db.MongoExample
 
main(String[]) - Static method in class com.t4a.detect.ZeroShotHallucinationDetector
 
mapClass(String) - Method in class com.t4a.api.JavaClassExecutor
map the class to a map with name and value
mapType(Class<?>) - Method in class com.t4a.api.JavaActionExecutor
Map Java type to Gemini type
mapType(String) - Method in class com.t4a.api.JavaActionExecutor
 
MongoAction - Class in com.t4a.action.db
This is an action class for MongoDB it takes a prompt and inject the values into MongoDatabase
MongoAction() - Constructor for class com.t4a.action.db.MongoAction
 
MongoExample - Class in com.t4a.action.db
 
MongoExample() - Constructor for class com.t4a.action.db.MongoExample
 

P

Predict - Annotation Interface in com.t4a.predict
 
PredictionLoader - Class in com.t4a.predict
 
PredictOptions - Class in com.t4a.predict
 
PredictOptions() - Constructor for class com.t4a.predict.PredictOptions
 
processCP() - Method in class com.t4a.predict.PredictionLoader
 
processMultipleAction(String, String, String, String, int) - Method in class com.t4a.processor.ActionProcessor
 
processSingleAction(String, String, String, String) - Method in class com.t4a.processor.ActionProcessor
 
processSingleAction(String, String, String, String, HumanInLoop) - Method in class com.t4a.processor.ActionProcessor
 
processSingleAction(String, String, String, String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.ActionProcessor
 

S

SELF - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
 
sendMessageToQueue() - Method in class com.t4a.action.tibco.TibcoAction
 
SHELL - Enum constant in enum class com.t4a.api.ActionType
 
ShellAction - Class in com.t4a.action.shell
base class to execute shell commands
ShellAction() - Constructor for class com.t4a.action.shell.ShellAction
 
ShellPredictionLoader - Class in com.t4a.predict
 
ShellPredictionLoader() - Constructor for class com.t4a.predict.ShellPredictionLoader
 
SOLACE - Enum constant in enum class com.t4a.api.ActionType
 

T

TIBCO - Enum constant in enum class com.t4a.api.ActionType
 
TibcoAction - Class in com.t4a.action.tibco
 
TibcoAction() - Constructor for class com.t4a.action.tibco.TibcoAction
 
toString() - Method in class com.t4a.action.http.GenericHttpAction
 
toString() - Method in class com.t4a.action.http.InputParameter
 

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
 
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.detect.HallucinationDetectorType
Returns the enum constant of this class with the specified name.
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.detect.HallucinationDetectorType
Returns an array containing the constants of this enum class, in the order they are declared.

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 P S T V Z 
All Classes and Interfaces|All Packages|Serialized Form