Package com.t4a.api
Class JavaClassExecutor
java.lang.Object
com.t4a.api.JavaActionExecutor
com.t4a.api.JavaClassExecutor
- All Implemented Interfaces:
AIActionExecutor
Create a POJO Object from the response object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.cloud.vertexai.api.FunctionDeclarationcom.google.cloud.vertexai.api.FunctionDeclarationbuildFunctionFromClass(String className, String funName, String discription) com.google.gson.GsongetGson()Methods inherited from class com.t4a.api.JavaActionExecutor
getBuild, getBuild, getBuildForJson, getBuildFunction, getBuildFunction, getPropertyValuesJsonString, getPropertyValuesJsonString, getPropertyValuesMap, getPropertyValuesMap, getPropertyValuesMapMap, mapClassToFun, mapType, mapType, mapTypeForPojo, protobufToMap
-
Constructor Details
-
JavaClassExecutor
public JavaClassExecutor() -
JavaClassExecutor
public JavaClassExecutor(com.google.gson.Gson gson)
-
-
Method Details
-
buildFunctionFromClass
public com.google.cloud.vertexai.api.FunctionDeclaration buildFunctionFromClass(String className, String funName, String discription) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
buildFunction
public com.google.cloud.vertexai.api.FunctionDeclaration buildFunction(Map<String, Object> mapOfMapsForJason, String funName, String discription) throws ClassNotFoundException- Throws:
ClassNotFoundException
-
getProperties
- Specified by:
getPropertiesin classJavaActionExecutor
-
getGson
public com.google.gson.Gson getGson()- Specified by:
getGsonin classJavaActionExecutor
-
action
-