decisions

Ask questions about an input (OpenAI Decisions format)

Judge an input against 1 to 128 questions and get the answers back in the same order.

Question types are predicate (yes/no with probability), choice (one of the choices, with probabilities) and score (an index into levels, with probabilities). 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. System One decision models accept this format too, LiteLLM translates the request and the answers. Streaming is not supported.

Docs

post/decisions

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/decisions
  • Auth: API key in header x-litellm-api-key

Request body

modelstring required

A decision model from the proxy model_list

safety_identifierstring nullable

A stable id for your end user. Sent to OpenAI and dropped for other providers

Response

Successful Response

modelstring required

Changes

No recorded changes to this operation across all 1 revision of this API.