Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit b853c03

Browse files
author
Yuanbo Li
committed
update api doc
1 parent 3eae234 commit b853c03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend_interface.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"template_id": "类型string, prompt模板id,默认使用default",
2121
"company":"租户名,默认default或者不填",
2222
"user_id": "类型string,用户名",
23+
"refuse_strategy":"", // 默认设置为空,那么如果知识库没有相关知识时,让LLM进行回答,如果设置为SAY_DONT_KNOW, 那么知识库没有相关知识时,直接采用refuse_answer进行回复,不走LLM
24+
"refuse_answer":"对不起,我不太清楚这个问题,请问问人工吧"
2325
}
2426
```
2527
examples:

0 commit comments

Comments
 (0)