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