このモデルを呼び出す
request.py
import requests
response = requests.post(
"https://api.tokener.ai/typesafe/v1/systemone",
headers={"Authorization": "Bearer sk-tk-••••••••••••"},
json={
"model": "jev-latest",
"state": "The customer cannot sign in.",
"questions": {
"department": {
"type": "choice",
"instructions": "Route this request.",
"criteria": {
"technical": "Technical support",
"billing": "Billing",
},
}
},
},
)