From 90946bc94a2a7ca859b2dcd4a70b9981bfba2b14 Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 29 Dec 2023 20:53:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9query=5Frewrite=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appbuilder/core/components/llms/query_rewrite/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appbuilder/core/components/llms/query_rewrite/README.md b/appbuilder/core/components/llms/query_rewrite/README.md index 16a95921..fb39382b 100644 --- a/appbuilder/core/components/llms/query_rewrite/README.md +++ b/appbuilder/core/components/llms/query_rewrite/README.md @@ -15,10 +15,11 @@ import appbuilder os.environ["APPBUILDER_TOKEN"] = '...' # 初始化并使用 QueryRewrite 组件 -query_rewrite = appbuilder.QueryRewrite(model="ernie-bot-4") +query_rewrite = appbuilder.QueryRewrite(model="eb-turbo-appbuilder") answer = query_rewrite(appbuilder.Message(['我应该怎么办理护照?', '您可以查询官网或人工咨询', '我需要准备哪些材料?', '身份证、免冠照片一张以及填写完整的《中国公民因私出国(境)申请表》', '在哪里办']), rewrite_type="带机器人回复") -``` print(answer) +``` + ## 参数说明 ### 初始化参数