Index

A B C D E F G H I J L M O P Q R S T V 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(String, AIAction) - Method in class com.t4a.api.JavaMethodExecutor
 
actionName() - Element in annotation interface com.t4a.predict.Predict
 
ActionProcessor - Class in com.t4a.processor
The main processor class, can execute single action or multiple action in sequence - 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
ActionProcessor() - Constructor for class com.t4a.processor.ActionProcessor
 
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.predict
use this annotation to mark the loader as active
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.predict
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.processor.HumanInLoop
 
allow(String, String, String) - Method in class com.t4a.processor.LoggingHumanDecision
 
allow(String, String, Map<String, Object>) - Method in interface com.t4a.processor.HumanInLoop
 
allow(String, String, Map<String, Object>) - Method in class com.t4a.processor.LoggingHumanDecision
 
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
 
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
 

C

calculateTruthPercent() - Method in class com.t4a.detect.HallucinationQA
 
canBeExecutedParallely() - Method in class com.t4a.processor.chain.SubPrompt
 
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.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
 
CONNECT - Enum constant in enum class com.t4a.action.http.HttpMethod
 
convertClassObjectToJsonString(Schema) - Static method in class com.t4a.JsonUtils
 

D

DELETE - Enum constant in enum class com.t4a.action.http.HttpMethod
 
description() - Element in annotation interface com.t4a.predict.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
 

E

equals(Object) - Method in class com.t4a.action.http.HttpPredictedAction
 
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.processor.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.processor
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
 

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.processor
 
fetchActionNameFromList(String) - Method in class com.t4a.predict.PredictionLoader
 
FILE - Enum constant in enum class com.t4a.api.ActionType
 

G

GEMINI - Enum constant in enum class com.t4a.predict.AIPlatform
 
GeminiGuardRails - Class in com.t4a.api
Uses Gemini to check the user prompts
GeminiGuardRails() - Constructor for class com.t4a.api.GeminiGuardRails
 
GET - Enum constant in enum class com.t4a.action.http.HttpMethod
 
getAction() - Method in class com.t4a.api.JavaMethodExecutor
 
getActionList() - Method in class com.t4a.processor.ActionProcessor
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
 
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
 
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
 
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
 
getGson() - Method in class com.t4a.predict.PromptTransformer
 
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
 
getLocation() - Method in class com.t4a.predict.PredictionLoader
 
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
 
GOOGLE - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
 
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.processor.chain.SubPrompt
 
HEAD - Enum constant in enum class com.t4a.action.http.HttpMethod
 
HIGH - Enum constant in enum class com.t4a.api.ActionRisk
 
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.processor
The HumanInLoop interface represents a mechanism for allowing human involvement in a feedback loop process.

I

ImageActionProcessor - Class in com.t4a.processor
Take actions based on images
ImageActionProcessor() - Constructor for class com.t4a.processor.ImageActionProcessor
 
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.processor.FeedbackLoop
 
isComplexMethod() - Method in interface com.t4a.api.JavaMethodAction
 

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
 
JsonUtils - Class in com.t4a
 
JsonUtils() - Constructor for class com.t4a.JsonUtils
 

L

lineResult(String) - Method in interface com.t4a.processor.scripts.ScriptCallback
 
load(Map<String, AIAction>, StringBuffer) - Method in class com.t4a.predict.HttpRestPredictionLoader
 
load(Map<String, AIAction>, StringBuffer) - Method in class com.t4a.predict.ShellPredictionLoader
 
load(Map<String, AIAction>, StringBuffer) - 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>) - Method in class com.t4a.predict.SwaggerPredictionLoader
 
loadYamlFile(Map<String, AIAction>, StringBuffer) - Method in class com.t4a.predict.ShellPredictionLoader
 
LOCALAI - Enum constant in enum class com.t4a.predict.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
 
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
 
MEDIUM - Enum constant in enum class com.t4a.api.ActionRisk
 

O

OPENAI - Enum constant in enum class com.t4a.predict.AIPlatform
 
OpenAiActionProcessor - Class in com.t4a.processor
 
OpenAiActionProcessor() - Constructor for class com.t4a.processor.OpenAiActionProcessor
 
OPTIONS - Enum constant in enum class com.t4a.action.http.HttpMethod
 

P

ParamLocation - Enum Class in com.t4a.action.http
 
parseConfig(Map<String, AIAction>, StringBuffer) - Method in class com.t4a.predict.HttpRestPredictionLoader
 
parseConfig(Map<String, AIAction>, StringBuffer) - 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
 
POST - Enum constant in enum class com.t4a.action.http.HttpMethod
 
postActionProcessing(AIAction, String, AIPlatform, Map<String, Object>, String) - Method in class com.t4a.predict.PredictionLoader
 
Predict - Annotation Interface in com.t4a.predict
 
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.ActionProcessor
 
processMultipleAction(String, int, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.ActionProcessor
 
processMultipleActionDynamically(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.ActionProcessor
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 class com.t4a.processor.ActionProcessor
Process Multiple actions sequentially based on prediction
processSingleAction(String) - Method in class com.t4a.processor.OpenAiActionProcessor
 
processSingleAction(String, AIAction) - Method in class com.t4a.processor.ActionProcessor
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, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.ActionProcessor
Process single action based on prediction
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in interface com.t4a.processor.AIProcessor
 
processSingleAction(String, AIAction, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.ImageActionProcessor
 
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 class com.t4a.processor.ActionProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in interface com.t4a.processor.AIProcessor
 
processSingleAction(String, HumanInLoop, ExplainDecision) - Method in class com.t4a.processor.ImageActionProcessor
 
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.ActionProcessor
Trigger the action by specifically passing the name, prediction wont be called .
Prompt - Class in com.t4a.processor.chain
 
Prompt() - Constructor for class com.t4a.processor.chain.Prompt
 
PromptTransformer - Class in com.t4a.predict
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.
PromptTransformer() - Constructor for class com.t4a.predict.PromptTransformer
 
PromptTransformer(Gson) - Constructor for class com.t4a.predict.PromptTransformer
 
protobufToMap(Map<String, Value>) - Method in class com.t4a.api.JavaActionExecutor
 
PUT - Enum constant in enum class com.t4a.action.http.HttpMethod
 

Q

QUERY - Enum constant in enum class com.t4a.action.http.ParamLocation
 

R

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

S

ScriptCallback - Interface in com.t4a.processor.scripts
 
scriptDecision(String, String) - Method in class com.t4a.predict.PredictionLoader
 
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
 
ScriptResult - Class in com.t4a.processor.scripts
 
ScriptResult() - Constructor for class com.t4a.processor.scripts.ScriptResult
 
SELF - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
 
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
 
SpringAwareActionProcessor - Class in com.t4a.processor
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
SpringAwareActionProcessor(ApplicationContext) - Constructor for class com.t4a.processor.SpringAwareActionProcessor
 
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 class com.t4a.predict.PredictionLoader
 
SwaggerPredictionLoader - Class in com.t4a.predict
 
SwaggerPredictionLoader() - Constructor for class com.t4a.predict.SwaggerPredictionLoader
 

T

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.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, String, String) - Method in class com.t4a.predict.PromptTransformer
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"}
transformIntoPojo(String, String, String, String) - Method in class com.t4a.predict.PromptTransformer
Build a Java Pojo out of the Prompt

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.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.detect.HallucinationDetectorType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.t4a.predict.AIPlatform
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.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.predict.AIPlatform
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 O P Q R S T V Z 
All Classes and Interfaces|All Packages|Serialized Form