|
@@ -1,33 +1,34 @@
|
|
|
|
|
|
const api = {
|
|
|
- getGraph: '/api/kg/getGraph',
|
|
|
+ getGraph: '/healsphere/kg/getGraph',
|
|
|
+ getNewGraph: "/knowledge/getGraph",
|
|
|
getSelfGraph: '/open-platform/kb/graph_data',
|
|
|
- getNode: '/api/kg/getNode',
|
|
|
- getSchema: '/api/ltkg/kg/getSchema',
|
|
|
- getTree: '/api/kg/getTree',
|
|
|
- entity_predict: '/api/ltkg/nlp/getNlp',
|
|
|
- getMrInfo: '/api/ltkg/presetInfo/getMrInfo',
|
|
|
- getAnswer: '/api/ltkg/qa/charBot',
|
|
|
- getTerm: '/api/ltkg/term/getTerm',
|
|
|
+ getNode: '/healsphere/kg/getNode',
|
|
|
+ getSchema: '/healsphere/ltkg/kg/getSchema',
|
|
|
+ getTree: '/healsphere/kg/getTree',
|
|
|
+ entity_predict: '/healsphere/ltkg/nlp/getNlp',
|
|
|
+ getMrInfo: '/healsphere/ltkg/presetInfo/getMrInfo',
|
|
|
+ getAnswer: '/healsphere/ltkg/qa/charBot',
|
|
|
+ getTerm: '/healsphere/ltkg/term/getTerm',
|
|
|
check: 'http://192.168.2.121:7010/test/testStandConvert',
|
|
|
- findEntity: "/api/entity/findEntity", //实体详情查询(根据id查询实体)
|
|
|
- deleteEntity: "/api/entity/deleteEntity", //批量删除实体
|
|
|
- mergeEntity: "/api/entity/mergeEntity",//实体合并
|
|
|
- createEntity: "/api/entity/createEntity",//批量新增实体
|
|
|
+ findEntity: "/healsphere/entity/findEntity", //实体详情查询(根据id查询实体)
|
|
|
+ deleteEntity: "/healsphere/entity/deleteEntity", //批量删除实体
|
|
|
+ mergeEntity: "/healsphere/entity/mergeEntity",//实体合并
|
|
|
+ createEntity: "/healsphere/entity/createEntity",//批量新增实体
|
|
|
|
|
|
- updateEntityName: "/api/entity/updateEntityName",
|
|
|
+ updateEntityName: "/healsphere/entity/updateEntityName",
|
|
|
|
|
|
- createRelationship: "/api/relationship/createRelationship",
|
|
|
- findRelationshipType: "/api/relationship/findRelationshipType", //根据名称模糊查询关系
|
|
|
- updateRelationshipType: "/api/relationship/updateRelationshipType",
|
|
|
- createEntityProperty: "/api/property/createEntityProperty", //批量新增实体属性
|
|
|
- deleteRelationship: "/api/relationship/deleteRelationship",//批量删除关系
|
|
|
- findEntityListByName: "/api/entity/findEntityListByName", //实体列表查询(根据标签和名字模糊查询实体)
|
|
|
- updateEntityProperty: "/api/property/updateEntityProperty", //更新实体属性
|
|
|
- deleteEntityProperty: "/api/property/deleteEntityProperty", //删除实体属性
|
|
|
+ createRelationship: "/healsphere/relationship/createRelationship",
|
|
|
+ findRelationshipType: "/healsphere/relationship/findRelationshipType", //根据名称模糊查询关系
|
|
|
+ updateRelationshipType: "/healsphere/relationship/updateRelationshipType",
|
|
|
+ createEntityProperty: "/healsphere/property/createEntityProperty", //批量新增实体属性
|
|
|
+ deleteRelationship: "/healsphere/relationship/deleteRelationship",//批量删除关系
|
|
|
+ findEntityListByName: "/healsphere/entity/findEntityListByName", //实体列表查询(根据标签和名字模糊查询实体)
|
|
|
+ updateEntityProperty: "/healsphere/property/updateEntityProperty", //更新实体属性
|
|
|
+ deleteEntityProperty: "/healsphere/property/deleteEntityProperty", //删除实体属性
|
|
|
|
|
|
- getCountList: "/api/kg/count/getCountList",
|
|
|
- getCountInfo: "/api/kg/count/getCountInfo",
|
|
|
+ getCountList: "/healsphere/kg/count/getCountList",
|
|
|
+ getCountInfo: "/healsphere/kg/count/getCountInfo",
|
|
|
userGraphs: "/open-platform/kb/user_sub_graphs",
|
|
|
getSelfTreeByUser: "/open-platform/kb/tree_structure",
|
|
|
getSelfNode: '/open-platform/graph_mg/entity/search',
|
|
@@ -45,7 +46,8 @@ const api = {
|
|
|
createCustomProperty: '/open-platform/graph_mg/property/create', //新建实体属性
|
|
|
deleteCustomProperty: '/open-platform/graph_mg/property/delete', //删除实体属性
|
|
|
updateCustomProperty: '/open-platform/graph_mg/property/update', //更新实体属性
|
|
|
- graphCategories: "/open-platform/kb/graph_categories"//查询类型列表
|
|
|
+ graphCategories: "/open-platform/kb/graph_categories",//查询类型列表
|
|
|
+ graphMerge: "/open-platform/agent/job"//知识图谱融合
|
|
|
|
|
|
};
|
|
|
$(".goto-homeStatic").on("click", function () {
|