POST
/
llm
/
placement-turn
Placement Turn
curl --request POST \
  --url https://ella.navgurukul.org/api/llm/placement-turn \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "age": 10,
  "messages": [
    {
      "content": "Hi! What is your name?",
      "role": "assistant"
    },
    {
      "content": "My name is Raj.",
      "role": "user"
    }
  ],
  "name": "Raj"
}
'
{
  "reply": "<string>",
  "is_complete": false,
  "name": "<string>",
  "age": 123,
  "age_group": "<string>",
  "level_code": "<string>",
  "level_name": "<string>",
  "level_description": "<string>",
  "confidence": "<string>",
  "possible_higher": true,
  "evidence_summary": "<string>",
  "probe_targets_covered": [
    "<string>"
  ],
  "turns_taken": 123,
  "code_switch_observed": true,
  "notes_for_first_session": "<string>",
  "interests": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
default:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1N2U0NDg0NC04YWRiLTQyNTgtYWI4Mi05MWNmNDUxZTQ4OGEiLCJleHAiOjIwOTY4Njg2Njh9._oyjz0enX_sLYvidUm4EUMq5oTNUpxZmowoxIf5J7dc
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
messages
MessageIn · object[]
required
name
string | null
age
integer | null

Response

Successful Response

reply
string | null
is_complete
boolean
default:false
name
string | null
age
integer | null
age_group
string | null
level_code
string | null
level_name
string | null
level_description
string | null
confidence
string | null
possible_higher
boolean | null
evidence_summary
string | null
probe_targets_covered
string[] | null
turns_taken
integer | null
code_switch_observed
boolean | null
notes_for_first_session
string | null
interests
string[] | null