From ef9da2f015d1e624beaa61fbf189fb9589e4626e Mon Sep 17 00:00:00 2001 From: yinjiaqi Date: Fri, 29 Nov 2024 15:55:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0README=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- docs/README_en.md | 4 ++-- docs/README_ja.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 191ce5b0..8925780f 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ import os # 设置环境中的TOKEN,以下TOKEN为访问和QPS受限的试用TOKEN,正式使用请替换为您的个人TOKEN os.environ["APPBUILDER_TOKEN"] = "bce-v3/ALTAK-n5AYUIUJMarF7F7iFXVeK/1bf65eed7c8c7efef9b11388524fa1087f90ea58" -rag_with_baidu_search_pro = appbuilder.RagWithBaiduSearchPro(model="ERNIE-Lite-AppBuilder-8K") +rag_with_baidu_search_pro = appbuilder.RagWithBaiduSearchPro(model="ERNIE-4.0-8K") input = appbuilder.Message("9.11和9.8哪个大") result = rag_with_baidu_search_pro.run( diff --git a/docs/README_en.md b/docs/README_en.md index 3611bcab..dc796d8c 100644 --- a/docs/README_en.md +++ b/docs/README_en.md @@ -128,8 +128,8 @@ import os # 设置环境中的TOKEN,以下TOKEN为访问和QPS受限的试用TOKEN,正式使用请替换为您的个人TOKEN os.environ["APPBUILDER_TOKEN"] = "bce-v3/ALTAK-n5AYUIUJMarF7F7iFXVeK/1bf65eed7c8c7efef9b11388524fa1087f90ea58" -rag_with_baidu_search_pro = appbuilder.RagWithBaiduSearchPro(model="ERNIE-Lite-AppBuilder-8K") - +rag_with_baidu_search_pro = appbuilder.RagWithBaiduSearchPro(model="ERNIE-4.0-8K") +"ERNIE-4.0-8K" input = appbuilder.Message("9.11和9.8哪个大") result = rag_with_baidu_search_pro.run( message=input, diff --git a/docs/README_ja.md b/docs/README_ja.md index 7699ca02..a072bb23 100644 --- a/docs/README_ja.md +++ b/docs/README_ja.md @@ -124,7 +124,7 @@ import os # 環境変数にTOKENを設定します。以下のTOKENはアクセスとQPSが制限された試用TOKENです。正式な使用には個人のTOKENに置き換えてください。 os.environ["APPBUILDER_TOKEN"] = "bce-v3/ALTAK-n5AYUIUJMarF7F7iFXVeK/1bf65eed7c8c7efef9b11388524fa1087f90ea58" -rag_with_baidu_search_pro = appbuilder.RagWithBaiduSearchPro(model="ERNIE-Lite-AppBuilder-8K") +rag_with_baidu_search_pro = appbuilder.RagWithBaiduSearchPro(model="ERNIE-4.0-8K") input = appbuilder.Message("9.11と9.8のどちらが大きいですか?") result = rag_with_baidu_search_pro.run( From 7bf8856c39c6110e838e91876b11a8b2c37cc4d8 Mon Sep 17 00:00:00 2001 From: yinjiaqi Date: Fri, 29 Nov 2024 15:56:27 +0800 Subject: [PATCH 2/2] update --- docs/README_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README_en.md b/docs/README_en.md index dc796d8c..54a4c3bc 100644 --- a/docs/README_en.md +++ b/docs/README_en.md @@ -129,7 +129,7 @@ import os os.environ["APPBUILDER_TOKEN"] = "bce-v3/ALTAK-n5AYUIUJMarF7F7iFXVeK/1bf65eed7c8c7efef9b11388524fa1087f90ea58" rag_with_baidu_search_pro = appbuilder.RagWithBaiduSearchPro(model="ERNIE-4.0-8K") -"ERNIE-4.0-8K" + input = appbuilder.Message("9.11和9.8哪个大") result = rag_with_baidu_search_pro.run( message=input,