Package org.springframework.ai.systemone.api.response


@NullMarked package org.springframework.ai.systemone.api.response
The answer types of a System One response.
  • Class
    Description
    One 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 a GET /v1/models response.
    One entry of GET /v1/models.
    The answer to a Noul: a single truth value between 0 and 1, where 1 means yes, 0 means no and 0.5 means undecided.
    The answer to a Score: 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 a POST /v1/systemone response: one answer per question, plus the model that produced them and the token usage.
    An answer whose type this client version does not model.
    Token consumption of one request.