Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

连续对话的功能好像不能用 #31

Open
lcm1475 opened this issue Feb 22, 2023 · 3 comments
Open

连续对话的功能好像不能用 #31

lcm1475 opened this issue Feb 22, 2023 · 3 comments

Comments

@lcm1475
Copy link

lcm1475 commented Feb 22, 2023

curl -X "POST" "http://localhost:4000/message/holegots"
-H 'Content-Type: application/json; charset=utf-8'
-d $'{
"message": "Hello"
}'
这里面的holegots参数是第一次请求返回回来的conversationId把?

@lcm1475
Copy link
Author

lcm1475 commented Feb 22, 2023

curl -X "GET" "https://localhost/message/bdf40a5e-3aa1-4355-89a7-995ffa9bc5c7"
第一次404
第二次502

@hyne-shan
Copy link

holegots会去数据库里面匹配conversationId,只要你输入的不变,conversationId就不变

@drttcrh
Copy link

drttcrh commented Feb 27, 2023

可以自定义会话名称的 http://localhost:4000/message/会话名称

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants