cURL
curl --request POST \ --url https://api.example.com/user/practice/sessions/{session_id}/chat \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prompt_text": "<string>", "model_names": [ "<string>" ] } '
{ "session_id": 123, "prompt_text": "<string>", "results": [ { "session_model_id": 123, "model_name": "<string>", "response_id": 123, "prompt_text": "<string>", "response_text": "<string>", "created_at": "2023-11-07T05:31:56Z", "token_usage": {}, "latency_ms": 123, "is_primary": true, "generation_params": {} } ], "session_title": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 이상: 해당 세션에서 이어서 대화
x >= 1
POST /sessions/{session_id}/chat
이 세션에서 호출할 논리 모델 이름 목록
Successful Response
Show child attributes