mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-23 15:43:54 +08:00
update:知识库自动创建function方法
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ public class AgentPluginMappingServiceImpl extends ServiceImpl<AgentPluginMappin
|
||||
paramInfo.put("name", knowledgeBaseEntity.getName());
|
||||
paramInfo.put("description", knowledgeBaseEntity.getDescription());
|
||||
mapping.setParamInfo(JSONUtils.toJSONString(paramInfo));
|
||||
String providerCode = "xzmcp_search_from_knowledgeBase_" + modelConfigEntity.getModelCode() + "_"
|
||||
String providerCode = "xzKnowledgeBase_search_from_" + modelConfigEntity.getModelCode() + "_"
|
||||
+ index;
|
||||
index++;
|
||||
mapping.setProviderCode(providerCode);
|
||||
|
||||
Reference in New Issue
Block a user