suerprisePlus
2024-11-27 ab8f3297f7c8243d486c9da0900e4f813b2ea2df
public/config/config.js
@@ -15,11 +15,13 @@
// 数据分析端口
const pyHost = isWeb ? isUrl + ":9036" : isUrl + ":8000";
//rag端口
const ragHost = isWeb ? isUrl + ":9036" : "192.168.11.95:8080";
const ragHost = isWeb ? isUrl + ":9036" : "192.168.11.24:8103";
// 本地数据地址
const pwythHost = "http://localhost/pwyth";
//配置
const config = {
  images:  host + "/imgs/",
  // server服务
  apiServices: "http://" + apiHost + "/server/",
  // 知识图谱服务
@@ -29,7 +31,8 @@
  //数据分析接口
  pyServices: "http://" + pyHost + "/py",
  //rag服务地址
  ragServices: "http://" + ragHost+ "/api/vi",
  // ragServices: "http://" + ragHost+ "/api/vi",
  ragServices: "http://" + ragHost+ "/rag_sxdw/api/vi",
  imageUrl: "",
  // sdk显示
  sdkImg: host + "/CimSDK/",
@@ -57,5 +60,6 @@
    url: pwythHost + "/modles/TY/tileset.json",
    cnName:"baseModel",
    id:"baseModel",
    flag:false,
 },
};