Class RunEvalResult
java.lang.Object
com.google.adk.JsonBaseModel
com.google.adk.web.dto.RunEvalResult
DTO for the response of POST /apps/{appName}/eval_sets/{evalSetId}/run-eval. Contains the results
of an evaluation run.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JsonBaseModel
fromJsonNode, fromJsonString, getMapper, toJson, toJsonNode, toJsonStringModifier and TypeMethodDescriptionstatic <T extends JsonBaseModel>
TfromJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, Class<T> clazz) Deserializes a JsonNode to an object of the given type.static <T extends JsonBaseModel>
TfromJsonString(String jsonString, Class<T> clazz) Deserializes a Json string to an object of the given type.static com.fasterxml.jackson.databind.ObjectMapperReturns the mutable ObjectMapper instance used by ADK.toJson()Serializes this object (i.e., the ObjectMappper instance used by ADK) to a Json string.protected static com.fasterxml.jackson.databind.JsonNodetoJsonNode(Object object) Serializes an object to a JsonNode.static StringtoJsonString(Object object) Serializes an object to a Json string.
-
Field Details
-
appName
-
evalSetId
-
evalId
-
finalEvalStatus
-
evalMetricResults
-
sessionId
-
-
Constructor Details
-
RunEvalResult
public RunEvalResult(String appName, String evalSetId, String evalId, String finalEvalStatus, List<List<Object>> evalMetricResults, String sessionId) Constructs a RunEvalResult.- Parameters:
appName- The application name.evalSetId- The evaluation set ID.evalId- The evaluation ID.finalEvalStatus- The final status of the evaluation.evalMetricResults- The results for each metric.sessionId- The session ID associated with the evaluation.
-
RunEvalResult
public RunEvalResult()
-