config.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. window.DMX_VERSION = '1.0.1';
  2. /**
  3. * API请求地址
  4. * 配置项最后一个字符 无需是 / 即,无需以 / 结束
  5. */
  6. // window.API_BASE_URL = window.VITE_API_BASE_URL;
  7. window.API_BASE_URL = 'http://smartai.com:8163'; // 接口访问地址
  8. window.WEB_BASE_URL = 'http://smartai.com:8163'; // 页面跳转地址
  9. // window.API_BASE_URL = 'http://192.168.20.119:13002';
  10. window.featureConfigs = [
  11. {
  12. name: '智能问答',
  13. icon: 1,
  14. id: 'RhpDAH6OpuCNNCL0',
  15. type: 'agent'
  16. },
  17. {
  18. name: '文库问答',
  19. icon: 3,
  20. id: 'DCjURjsWUVWidxXG',
  21. type: 'agent'
  22. },
  23. {
  24. name: '文档智能',
  25. icon: 2,
  26. id: 'wgPh9XpoAWdhMMmL',
  27. type: 'workflow'
  28. },
  29. {
  30. name: '文档出题',
  31. icon: 4,
  32. id: 'uSzIhpISDDQ5J355',
  33. type: 'workflow'
  34. },
  35. {
  36. name: '以图生文',
  37. icon: 6,
  38. id: 'jYWZd7yZrbbpclAE',
  39. type: 'agent'
  40. },
  41. {
  42. name: '以文生图',
  43. icon: 5,
  44. id: 'eAVL2GbeS2Xre9TV',
  45. type: 'workflow'
  46. },
  47. /**
  48. * AiPPT地址,id为链接
  49. */
  50. {
  51. name: 'AiPPT',
  52. icon: 7,
  53. id: '',
  54. type: 'link'
  55. }
  56. ];