李富豪 hai 1 ano
pai
achega
646c10083e
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      app/client/platforms/bigmodel.ts

+ 3 - 1
app/client/platforms/bigmodel.ts

@@ -46,7 +46,9 @@ export class BigModelApi implements LLMApi {
         {
           type: 'retrieval', // 工具类型为检索
           retrieval: {
-            knowledge_id: knowledgeId,// 知识库ID
+            // 知识库ID
+            knowledge_id: knowledgeId,
+            // 知识库模板
             prompt_template: template.content,
           },
         },