Evaluate a state against named typed questions and get calibrated yes/no, choice and score answers back. TypeSafe-compatible API, serving TypeSafe models only. To be deprecated soon in favor of the OpenAI-compatible /v1/decisions, which serves every decision model.

post/v1/systemone

Request

  • Base URL
    https://api.llmgateway.io
  • Auth
    HTTP bearer

Request body

modelstring required

ID of the decision model to use. Optionally prefixed with a provider (typesafe/…).

assetsobject

Images keyed by a reference string. Write the reference in state, instructions or criteria and the model receives the image in its place. Experimental.

questionsobject required

Questions keyed by an id you choose. Answers come back under the same ids.

Example request

{
  "model": "jev-1.14.0"
}

Response

Typed answers for the submitted questions.

modelstring required
answersobject required

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the /// response's property type changed from string to no type for status

    • warning

      added the new box enum value to the // response property for the response status

    • info

      added subschema #4 to the / request property oneOf list

    • info

      added the optional property // to the response with the status

    • info

      added the new optional request property