李富豪 1 éve
szülő
commit
646c10083e
1 módosított fájl, 3 hozzáadás és 1 törlés
  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,
           },
         },