decisions

Ask named questions about a state (System One format)

Changed on

Judge a state against 1 to 128 named questions and get one calibrated answer per question name.

Question types are noul (probability the answer is yes), choice (one label out of criteria, with confidence and probabilities), score (an index into the criteria levels, with confidence, legend and probabilities) and box (the image region the instructions describe, with confidence). TypeSafe models also take images in assets, each one referenced by its key in state. Requests that break these rules are rejected with a 400 before any provider is called. model is any decision model in the proxy model list. OpenAI decision models accept this format too, LiteLLM translates it and keeps the answers keyed by question name. Streaming is not supported.

Docs

post/systemone

Request

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/systemone
  • Auth: API key in header x-litellm-api-key

Request body

questionsobject required

Named noul, choice and score questions. Each key becomes a key in the answers

assetsobject nullable

TypeSafe only. Images keyed by a reference string. Write the reference in state, instructions or criteria where the image belongs

modelstring required

A decision model from the proxy model_list

Response

Successful Response

modelstring nullable
answersobject required

Changes