提交 ad477b96 作者: yanxin

知识库增加链接字段

上级 56ab127e
......@@ -105,7 +105,7 @@ public class Knowledge implements Serializable {
/**
* 链接地址
*/
private String sourceAddress;;
private String sourceAddress;
/**
* 类型
*/
......
......@@ -53,6 +53,11 @@ public class KnowledgeMessage {
private String contentAll;
private Integer importData;
/**
* 链接地址
*/
private String sourceAddress;
private List<Content> contents;
}
......@@ -361,7 +361,7 @@ class KnowledgeServiceImpl implements IKnowledgeService {
KnowledgeVO knowledgeVO = this.getById(knowledge.getId());
knowledge.setKnowledgeProjectId(knowledgeVO.getKbKnowledgeId());
}
deleteForPython(knowledge.getId(), knowledge.getKnowledgeProjectId());
deleteForPython(knowledge.getId(), knowledge.getKbKnowledgeId());
//log.info("send message:{}", knowledgeMessage);
String msg = JSON.toJSONString(knowledgeMessage);
log.info(msg);
......
......@@ -49,9 +49,9 @@ mybatis-plus:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true
python:
intelligentQaUrl: http://116.63.179.212:7862/platform/chat
searchUrl: http://116.63.179.212:7862/platform/searchInfo
deleteUrl: http://114.115.172.99:10013/platform/delete
intelligentQaUrl: http://114.116.36.231:7863/platform/chat
searchUrl: http://114.116.36.231:7863/platform/searchInfo
deleteUrl: http://114.116.36.231:7863/platform/delete
know:
thirdpartyurl:
......@@ -62,15 +62,13 @@ know:
document:
server:
host: http://114.116.116.241:9088
# host: http://192.168.1.71:9088
host: http://114.116.36.231:9088
files:
# storage: /zzsn/nt/storage/know/
storage: D:/storage/know/
storage: /zzsn/nt/storage/know/
# storage: D:/storage/know/
docservice:
url:
site: http://114.116.116.241:80/
# site: http://192.168.1.216:80/
site: http://114.116.36.231:80/
converter: ConvertService.ashx
command: coauthoring/CommandService.ashx
api: web-apps/apps/api/documents/api.js
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论