Package org.springframework.ai.systemone.api.response
@NullMarked
package org.springframework.ai.systemone.api.response
The answer types of a System One response.
-
ClassDescriptionOne model answer, keyed in the response by the name the request gave its question.The discriminator values an answer can carry.The answer to a
Choice: the selected label, the probability of every option and a confidence statistic computed from how concentrated that distribution is.The body of aGET /v1/modelsresponse.One entry ofGET /v1/models.The answer to aNoul: a single truth value between0and1, where1means yes,0means no and0.5means undecided.The answer to aScore: a probability-weighted value across the rubric levels, the legend that names each level, the per-level probabilities and a confidence statistic.The body of aPOST /v1/systemoneresponse: one answer per question, plus the model that produced them and the token usage.An answer whosetypethis client version does not model.Token consumption of one request.