李富豪 1 жил өмнө
parent
commit
646c10083e

+ 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,
           },
         },