Newer
Older
DH_Apicture / src / api / voice / recordpage.js
@zhangqy zhangqy on 29 Nov 409 bytes first commit
  1. import request from '@/utils/request'
  2.  
  3. // 语音实时识别
  4. export function videoupload (data) {
  5. return request({
  6. url: '/voice/voiceUnitRealtimeRecognitionRecord/recognition',
  7. method: 'post',
  8. data: data,
  9. timeout: 60 * 1000,
  10. })
  11. }
  12. // AI识别
  13. export function chatSend (data) {
  14. return request({
  15. url: '/llm/chat/send',
  16. method: 'post',
  17. data: data,
  18. timeout: 60 * 1000,
  19. })
  20. }