Index
All Classes and Interfaces|All Packages|Serialized Form
A
- action(GenerateContentResponse, Object) - Method in class com.t4a.bridge.JavaMethodExecutor
- action(GenerateContentResponse, String) - Method in class com.t4a.bridge.JavaClassExecutor
- action(ActionType, GuardRails, Map<String, Object>) - Method in class com.t4a.bridge.AITools
- actionClass(String, String, String, String) - Method in class com.t4a.bridge.AITools
- actionOnPrompt() - Method in class com.examples.PromptPredictionExample
- actionOnPrompt() - Method in class com.external.WeatherSearchExample
- ActionType - Enum Class in com.t4a.bridge
- addAction(Class) - Method in class com.t4a.predict.PredictionLoader
- AIAction - Interface in com.t4a.bridge
- AIActionExecutor - Interface in com.t4a.bridge
- AIFlightAssistant - Class in com.enterprise.fly
- AIFlightAssistant() - Constructor for class com.enterprise.fly.AIFlightAssistant
- AITools - Class in com.t4a.bridge
- AITools() - Constructor for class com.t4a.bridge.AITools
- AITools(String, String, String) - Constructor for class com.t4a.bridge.AITools
- askAdditionalQuestion(String) - Method in class com.external.BlankAction
- askQuestions(String[]) - Method in class com.t4a.detect.HallucinationAction
B
- BIAS - Enum constant in enum class com.t4a.bridge.ActionType
- BiasDetector - Class in com.t4a.detect
- BiasDetector() - Constructor for class com.t4a.detect.BiasDetector
- BlankAction - Class in com.external
- BlankAction() - Constructor for class com.external.BlankAction
- bookFlight(FlightDetails) - Static method in class com.enterprise.fly.BookingHelper
- bookFlight(String, String, String, String) - Static method in class com.enterprise.fly.AIFlightAssistant
- bookFlightAndDinner(String, String, String, String) - Static method in class com.enterprise.multi.MultiBot
- bookFlightAndDinner(String, String, String, String) - Static method in class com.enterprise.multi.UdoKhaoDekho
- BookingHelper - Class in com.enterprise.fly
-
In real world this will call the flight booking API we have got all the details here
- BookingHelper() - Constructor for class com.enterprise.fly.BookingHelper
- bookMyReservation(String, int, String, boolean, String) - Method in class com.enterprise.fly.JustKhao
- buildFunciton(AIAction) - Method in class com.t4a.bridge.JavaMethodExecutor
- buildFunction(String, String, String) - Method in class com.t4a.bridge.JavaClassExecutor
C
- calculateTruthPercent() - Method in class com.t4a.detect.HallucinationQA
- com.enterprise.basic - package com.enterprise.basic
- com.enterprise.db - package com.enterprise.db
- com.enterprise.eat - package com.enterprise.eat
- com.enterprise.file - package com.enterprise.file
- com.enterprise.fly - package com.enterprise.fly
- com.enterprise.multi - package com.enterprise.multi
- com.enterprise.tibco - package com.enterprise.tibco
- com.examples - package com.examples
- com.external - package com.external
- com.t4a.bridge - package com.t4a.bridge
- com.t4a.detect - package com.t4a.detect
- com.t4a.predict - package com.t4a.predict
D
- DATABASE - Enum constant in enum class com.t4a.bridge.ActionType
- DetectorAction - Interface in com.t4a.bridge
-
Base class for AI Hallucination and Bias detection
- 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.enterprise.basic.RestaurantPojo
- execute(DetectValues) - Method in interface com.t4a.bridge.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
F
- FACT - Enum constant in enum class com.t4a.bridge.ActionType
- FactDetector - Class in com.t4a.detect
- FactDetector() - Constructor for class com.t4a.detect.FactDetector
- FILE - Enum constant in enum class com.t4a.bridge.ActionType
- FileWriteAction - Class in com.enterprise.file
- FileWriteAction() - Constructor for class com.enterprise.file.FileWriteAction
- FlightCustomer - Class in com.enterprise.fly
-
Class to test various prompts and see if the booking works
- FlightCustomer() - Constructor for class com.enterprise.fly.FlightCustomer
- FlightDetails - Class in com.enterprise.fly
- FlightDetails() - Constructor for class com.enterprise.fly.FlightDetails
- FlightDetails(String, String, String, String) - Constructor for class com.enterprise.fly.FlightDetails
G
- GeminiGuardRails - Class in com.t4a.bridge
-
Uses Gemini to check the user prompts
- GeminiGuardRails() - Constructor for class com.t4a.bridge.GeminiGuardRails
- getActionName() - Method in class com.enterprise.db.MongoAction
- getActionName() - Method in class com.enterprise.file.FileWriteAction
- getActionName() - Method in class com.enterprise.fly.JustKhao
- getActionName() - Method in class com.enterprise.tibco.TibcoAction
- getActionName() - Method in class com.external.BlankAction
- getActionName() - Method in class com.external.HttpGetAction
- getActionName() - Method in interface com.t4a.bridge.AIAction
- getActionName() - Method in interface com.t4a.bridge.DetectorAction
- getActionName() - Method in class com.t4a.detect.HallucinationAction
- getActionNameList() - Method in class com.t4a.predict.PredictionLoader
- getActionType() - Method in class com.enterprise.db.MongoAction
- getActionType() - Method in class com.enterprise.file.FileWriteAction
- getActionType() - Method in class com.enterprise.fly.JustKhao
- getActionType() - Method in class com.enterprise.tibco.TibcoAction
- getActionType() - Method in class com.external.BlankAction
- getActionType() - Method in class com.external.HttpGetAction
- getActionType() - Method in interface com.t4a.bridge.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.bridge.JavaActionExecutor
-
Create schema from single property
- getBuild(Map<String, Type>) - Method in class com.t4a.bridge.JavaActionExecutor
-
Create Gemini Schema object this will be used to create funciton
- getBuildFunction(String, String) - Method in class com.t4a.bridge.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.
- getDate() - Method in class com.enterprise.fly.FlightDetails
- getDescription() - Method in class com.enterprise.db.MongoAction
- getDescription() - Method in class com.enterprise.file.FileWriteAction
- getDescription() - Method in class com.enterprise.fly.JustKhao
- getDescription() - Method in class com.enterprise.tibco.TibcoAction
- getDescription() - Method in class com.external.BlankAction
- getDescription() - Method in class com.external.HttpGetAction
- getDescription() - Method in interface com.t4a.bridge.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
- getFromLocation() - Method in class com.enterprise.fly.FlightDetails
- getGeneratedFunction() - Method in class com.t4a.bridge.JavaMethodExecutor
- getGson() - Method in class com.t4a.bridge.JavaActionExecutor
- getGson() - Method in class com.t4a.bridge.JavaClassExecutor
- getGson() - Method in class com.t4a.bridge.JavaMethodExecutor
- getHealthy() - Static method in class com.enterprise.eat.IndianFoodRecipes
- getInstance(String, String, String) - Static method in class com.t4a.predict.PredictionLoader
- getName() - Method in class com.enterprise.basic.RestaurantPojo
- getName() - Method in class com.enterprise.fly.FlightDetails
- getNumberOfPeople() - Method in class com.enterprise.basic.RestaurantPojo
- getPredictedAction(String) - Method in class com.t4a.predict.PredictionLoader
- getPredictions() - Method in class com.t4a.predict.PredictionLoader
- getProperties() - Method in class com.t4a.bridge.JavaActionExecutor
- getProperties() - Method in class com.t4a.bridge.JavaClassExecutor
- getProperties() - Method in class com.t4a.bridge.JavaMethodExecutor
- getPropertyValuesJsonString(GenerateContentResponse) - Method in class com.t4a.bridge.JavaActionExecutor
- getPropertyValuesJsonString(GenerateContentResponse, boolean) - Method in class com.t4a.bridge.JavaActionExecutor
- getPropertyValuesMap(GenerateContentResponse) - Method in class com.t4a.bridge.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
- getRecipe() - Static method in class com.enterprise.eat.IndianFoodRecipes
- getReserveDate() - Method in class com.enterprise.basic.RestaurantPojo
- getRestaurantName() - Method in class com.enterprise.basic.RestaurantPojo
- getTemprature(String) - Method in class com.external.HttpGetAction
- getToLocation() - Method in class com.enterprise.fly.FlightDetails
- GOOGLE - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
- GuardRailException - Exception Class in com.t4a.bridge
- GuardRailException() - Constructor for exception class com.t4a.bridge.GuardRailException
- GuardRails - Interface in com.t4a.bridge
H
- HALLUCINATION - Enum constant in enum class com.t4a.bridge.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
- hashCode() - Method in class com.enterprise.basic.RestaurantPojo
- HTTPGET - Enum constant in enum class com.t4a.bridge.ActionType
- HttpGetAction - Class in com.external
-
This uses https://open-meteo.com/en/docs/geocoding-api/ free non commercial purpose only if you are planning to ue it for commercial purpose please visit https://open-meteo.com/en/pricing/
- HttpGetAction() - Constructor for class com.external.HttpGetAction
- HTTPPOST - Enum constant in enum class com.t4a.bridge.ActionType
I
- IndianFoodRecipes - Class in com.enterprise.eat
- IndianFoodRecipes() - Constructor for class com.enterprise.eat.IndianFoodRecipes
- insertCustomerComplaint(String, String) - Method in class com.enterprise.db.MongoAction
- isCancel() - Method in class com.enterprise.basic.RestaurantPojo
J
- JavaActionExecutor - Class in com.t4a.bridge
-
This is the base class for all the bridges will implement common functionality
- JavaActionExecutor() - Constructor for class com.t4a.bridge.JavaActionExecutor
- JAVACLASS - Enum constant in enum class com.t4a.bridge.ActionType
- JavaClassExecutor - Class in com.t4a.bridge
- JavaClassExecutor() - Constructor for class com.t4a.bridge.JavaClassExecutor
- JavaClassExecutor(Gson) - Constructor for class com.t4a.bridge.JavaClassExecutor
- JAVAMETHOD - Enum constant in enum class com.t4a.bridge.ActionType
- JavaMethodExecutor - Class in com.t4a.bridge
- JavaMethodExecutor() - Constructor for class com.t4a.bridge.JavaMethodExecutor
- JavaMethodExecutor(Gson) - Constructor for class com.t4a.bridge.JavaMethodExecutor
- JustKhao - Class in com.enterprise.fly
- JustKhao() - Constructor for class com.enterprise.fly.JustKhao
K
- khao(String, String, String, String) - Static method in class com.enterprise.fly.JustKhao
M
- main(String[]) - Static method in class com.enterprise.basic.TestBridge
- main(String[]) - Static method in class com.enterprise.db.MongoExample
- main(String[]) - Static method in class com.enterprise.eat.RecipeTasteAndDiet
- main(String[]) - Static method in class com.enterprise.eat.RecipeTasteFinder
- main(String[]) - Static method in class com.enterprise.fly.AIFlightAssistant
- main(String[]) - Static method in class com.enterprise.fly.FlightCustomer
- main(String[]) - Static method in class com.enterprise.fly.JustKhao
- main(String[]) - Static method in class com.enterprise.multi.MultiBot
- main(String[]) - Static method in class com.enterprise.multi.UdoKhaoDekho
- main(String[]) - Static method in class com.examples.PromptPredictionExample
- main(String[]) - Static method in class com.examples.SimplePredictionExample
- main(String[]) - Static method in class com.examples.SimpleTalker
- main(String[]) - Static method in class com.examples.SimpleTalkerWithSafety
- main(String[]) - Static method in class com.external.HttpGetAction
- main(String[]) - Static method in class com.external.WeatherSearchExample
- main(String[]) - Static method in class com.t4a.detect.ZeroShotHallucinationDetector
- main(String[]) - Static method in class com.t4a.predict.PredictionLoader
- mapClass(String) - Method in class com.t4a.bridge.JavaClassExecutor
-
map the class to a map with name and value
- mapType(Class<?>) - Method in class com.t4a.bridge.JavaActionExecutor
-
Map Java type to Gemini type
- MongoAction - Class in com.enterprise.db
-
This is an action class for MongoDB it takes a prompt and inject the values into MongoDatabase
- MongoAction() - Constructor for class com.enterprise.db.MongoAction
- MongoExample - Class in com.enterprise.db
- MongoExample() - Constructor for class com.enterprise.db.MongoExample
- MultiBot - Class in com.enterprise.multi
-
Flight and Restaurant booking together
- MultiBot() - Constructor for class com.enterprise.multi.MultiBot
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
- PromptPredictionExample - Class in com.examples
-
This example does not require you to specify the action to take it will automatically detect the action to be taken based on list of prompts and predict accurately what needs to be done
- PromptPredictionExample(String[]) - Constructor for class com.examples.PromptPredictionExample
R
- RecipeTasteAndDiet - Class in com.enterprise.eat
- RecipeTasteAndDiet() - Constructor for class com.enterprise.eat.RecipeTasteAndDiet
- RecipeTasteFinder - Class in com.enterprise.eat
- RecipeTasteFinder() - Constructor for class com.enterprise.eat.RecipeTasteFinder
- RestaurantPojo - Class in com.enterprise.basic
- RestaurantPojo() - Constructor for class com.enterprise.basic.RestaurantPojo
S
- saveInformationToLocalFile(String[]) - Method in class com.enterprise.file.FileWriteAction
- SELF - Enum constant in enum class com.t4a.detect.HallucinationDetectorType
- sendMessageToQueue() - Method in class com.enterprise.tibco.TibcoAction
- setCancel(boolean) - Method in class com.enterprise.basic.RestaurantPojo
- setDate(String) - Method in class com.enterprise.fly.FlightDetails
- setFromLocation(String) - Method in class com.enterprise.fly.FlightDetails
- setName(String) - Method in class com.enterprise.basic.RestaurantPojo
- setName(String) - Method in class com.enterprise.fly.FlightDetails
- setNumberOfPeople(int) - Method in class com.enterprise.basic.RestaurantPojo
- setReserveDate(String) - Method in class com.enterprise.basic.RestaurantPojo
- setRestaurantName(String) - Method in class com.enterprise.basic.RestaurantPojo
- setToLocation(String) - Method in class com.enterprise.fly.FlightDetails
- SimplePredictionExample - Class in com.examples
- SimplePredictionExample() - Constructor for class com.examples.SimplePredictionExample
- SimpleTalker - Class in com.examples
-
Just basic example demonstrating chatting with Gemini
- SimpleTalker() - Constructor for class com.examples.SimpleTalker
- SimpleTalkerWithSafety - Class in com.examples
- SimpleTalkerWithSafety() - Constructor for class com.examples.SimpleTalkerWithSafety
- SOLACE - Enum constant in enum class com.t4a.bridge.ActionType
T
- TestBridge - Class in com.enterprise.basic
- TestBridge() - Constructor for class com.enterprise.basic.TestBridge
- testJavaClass(String, String, String, String) - Method in class com.enterprise.basic.TestBridge
- TIBCO - Enum constant in enum class com.t4a.bridge.ActionType
- TibcoAction - Class in com.enterprise.tibco
- TibcoAction() - Constructor for class com.enterprise.tibco.TibcoAction
- toString() - Method in class com.enterprise.basic.RestaurantPojo
U
- UdoKhaoDekho - Class in com.enterprise.multi
- UdoKhaoDekho() - Constructor for class com.enterprise.multi.UdoKhaoDekho
V
- validateRequest(String) - Method in class com.t4a.bridge.GeminiGuardRails
- validateRequest(String) - Method in interface com.t4a.bridge.GuardRails
- validateResponse(String) - Method in class com.t4a.bridge.GeminiGuardRails
- validateResponse(String) - Method in interface com.t4a.bridge.GuardRails
- valueOf(String) - Static method in enum class com.t4a.bridge.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.bridge.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.
W
- WeatherSearchExample - Class in com.external
-
Uses open weather to get prediction
- WeatherSearchExample(String[]) - Constructor for class com.external.WeatherSearchExample
- whatsTheRecipeTaste(String, String, String, String) - Static method in class com.enterprise.eat.RecipeTasteFinder
- whatsTheRecipeTasteAndDiet(String, String, String, String) - Static method in class com.enterprise.eat.RecipeTasteAndDiet
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
All Classes and Interfaces|All Packages|Serialized Form