chat.http 689 B

123456789101112131415161718192021222324252627282930
  1. ### 登录
  2. POST {{baseUrl}}/admin-api/system/auth/login
  3. Content-Type: application/json
  4. tenant-id: 1
  5. {
  6. "username": "admin",
  7. "password": "123456",
  8. "captchaVerification": "PfcH6mgr8tpXuMWFjvW6YVaqrswIuwmWI5dsVZSg7sGpWtDCUbHuDEXl3cFB1+VvCC/rAkSwK8Fad52FSuncVg==",
  9. "socialCode": "1024",
  10. "socialState": "9b2ffbc1-7425-4155-9894-9d5c08541d62",
  11. "socialCodeValid": true
  12. }
  13. ### chat call
  14. GET {{baseUrl}}/ai/chat?modal=qianWen&conversationId=1781604279872581644&prompt=中国好看吗?
  15. Authorization: {{token}}
  16. ### chat call
  17. GET {{baseUrl}}/ai/chatStream?conversationId=1781604279872581644&prompt=苹果是什么颜色?&modal=yiYan3_5_8k
  18. Authorization: {{token}}