Conversation
|
feat: #1775 |
|
这样的回复是正常的吗 |
不正常,content=[bot] , |
|
Coze maintains conversation, you should create session if not exist and save conversation_id to local session. |
|
v2 still available,you can try for it or you update to v3 by your self |
this's a MVP demo,it can support base options,if you want more,then you can edit it by your self。 and I guess the owner did not has a plan to merge it |
Just a kind reminder. We are investigating on this project + Coze too. |
|
I've been working on using coze api (non-CN version as coze.com, NOT the CN version as coze.cn) in CoW since early this week but haven't made it through yet. I had the correct key and the server can connect to my bot smoothly, but whenever i tried to activate CoW for a new chat, the request was rejected:
|
Coze.com may have different API links,you shuoldn't use the link in my code,just find the correct api and replace it,btw,the coze.com's paramaters & response may diffrent also |
Sorry for the wrong url here. They were https://api.coze.com/v3/chat and https://api.coze.com/v2/chat . I made my attempts before searching for relevant discussions on github and I found this one closest to my problem...... A friend of mine made a successful one when V2 was the latest version of url for coze api so I asked him for help yesterday. Things didn't go as he expected when he duplicated exactly what he did a few months ago, either using the /v3/chat one or /v2/chat one. |
You can verify the parameters(including the URL) by 'curl' command, as mentioned here: If you choose v2, the URL would be: And the last one, did you publish your agent to allow API access? |
支持 火山 Coze