Authorization: Bearer ********************{
"jsonrpc": "2.0",
"id": 1,
"method": "SendMessage",
"params": {
"message": {
"role": "ROLE_USER",
"parts": [
{
"text": "上海天气怎么样"
}
]
}
}
}curl --location 'http://localhost:5013/api/nb/a2a//v1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "SendMessage",
"params": {
"message": {
"role": "ROLE_USER",
"parts": [
{
"text": "上海天气怎么样"
}
]
}
}
}'{}