李富豪 1 yıl önce
ebeveyn
işleme
646c10083e
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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,
           },
         },