DeepFellow DOCS

Create Systemone

POST
/v1/systemone

Answer choice, yes/no (noul) and score questions about a state with a decision model.

Authorization

headerAuthorizationBearer <token>

Header Parameters

OpenAI-Organization?|

Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.

OpenAI-Project?|

Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization

Request Body

application/json
  1. body

Request for a decision model.

Limits such as question count, option count or score levels depend on the model, so they are left to Infra and its backend. Question instructions are optional and state may be null; backends that require them answer 400.

model*string
state*string||array<unknown>|null
questions*
images?array<string>|null
keep_alive?string|integer|number|null
[key: string]?any

Response Body

Successful Response

application/json
  1. response
model*string
answers*
usage?|null
Example Request
curl -X POST 'https://deepfellow-server-host/v1/systemone' \  -H 'Content-Type: application/json' \  -d '{  "model": "string",  "state": "string",  "questions": {    "property1": {      "type": "choice",      "criteria": {        "property1": "string",        "property2": "string"      }    },    "property2": {      "type": "choice",      "criteria": {        "property1": "string",        "property2": "string"      }    }  }}'
Example Response
{  "model": "string",  "answers": {    "property1": {      "type": "choice",      "choice": "string",      "probabilities": {        "property1": 0,        "property2": 0      },      "confidence": 0    },    "property2": {      "type": "choice",      "choice": "string",      "probabilities": {        "property1": 0,        "property2": 0      },      "confidence": 0    }  },  "usage": {    "input_tokens": 0,    "output_tokens": 0  }}

We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.