cURL
curl --request PUT \ --url https://api.gbase.ai/v1/ais/{ai_id}/gen_prompt \ --header 'Content-Type: application/json' \ --data '{ "prompt_in": "<string>", "ai_id": "<string>", "cur_prompt": "<string>", "stream": true, "message_id": "<string>" }'
{ "prompt": "<string>", "role": "<string>", "general": "<string>" }
更新robot的prompt信息, 暂时不用, 后续看看如何修改. todo -
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object