chat-modal.http 587 B

1234567891011121314151617181920212223242526272829303132
  1. ### chat call
  2. GET {{baseUrl}}/admin-api/ai/chat/model/list
  3. Authorization: {{token}}
  4. ### chat call
  5. PUT {{baseUrl}}/admin-api/ai/chat/model/add
  6. Content-Type: application/json
  7. Authorization: {{token}}
  8. {
  9. "keyId": "1",
  10. "name": "小红书Ai写作大模型4.0",
  11. "model": "ERNIE 4.0",
  12. "platform": "yiyan",
  13. "sort": 100
  14. }
  15. ### chat call
  16. POST {{baseUrl}}/admin-api/ai/chat/model/update
  17. Content-Type: application/json
  18. Authorization: {{token}}
  19. {
  20. "id": 9,
  21. "keyId": "1",
  22. "name": "小红书Ai写作大模型3.5 8k",
  23. "model": "ERNIE-3.5-8K",
  24. "platform": "yiyan",
  25. "sort": 100
  26. }