{
"model": "glm-4-flash",
"messages": [
{
"role": "user",
"content": "你好,你是谁"
}
],
"stream":true
}
curl --location --request POST 'https://open.bigmodel.cn/api/paas/v4/chat/completions' \
--header 'Authorization: 9c1cc14c265c78edab9926dd85c929a9.RfCvxzknspOLWFax' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "glm-4-flash",
"messages": [
{
"role": "user",
"content": "你好,你是谁"
}
],
"stream":true
}'