From 252c5ff0bb26fd57d21e97539b309eb9d6d3e2c9 Mon Sep 17 00:00:00 2001 From: wangmin24 Date: Mon, 11 Mar 2024 11:46:43 +0800 Subject: [PATCH] =?UTF-8?q?wangmin:markdown=E8=A7=A3=E6=9E=90=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/animal_recognize/README.md | 2 +- appbuilder/core/components/asr/README.md | 2 +- .../core/components/dish_recognize/README.md | 2 +- .../components/doc_crop_enhance/README.md | 2 +- .../core/components/doc_parser/README.md | 2 +- .../core/components/doc_splitter/README.md | 4 ++-- .../core/components/embeddings/README.md | 2 +- .../core/components/extract_table/README.md | 2 +- .../core/components/general_ocr/README.md | 2 +- .../core/components/handwrite_ocr/README.md | 2 +- .../components/image_understand/README.md | 2 +- .../components/landmark_recognize/README.md | 2 +- .../components/llms/dialog_summary/README.md | 2 +- .../llms/is_complex_query/README.md | 2 +- appbuilder/core/components/llms/mrc/README.md | 2 +- .../core/components/llms/nl2pandas/README.md | 2 +- .../llms/oral_query_generation/README.md | 2 +- .../components/llms/qa_pair_mining/README.md | 2 +- .../llms/query_decomposition/README.md | 2 +- .../components/llms/query_rewrite/README.md | 2 +- .../components/llms/style_rewrite/README.md | 2 +- .../components/llms/style_writing/README.md | 2 +- .../components/llms/tag_extraction/README.md | 2 +- appbuilder/core/components/matching/README.md | 2 +- .../core/components/mix_card_ocr/README.md | 2 +- .../components/object_recognize/README.md | 2 +- .../core/components/plant_recognize/README.md | 2 +- .../core/components/qrcode_ocr/README.md | 2 +- .../rag_with_baidu_search/README.md | 2 +- .../core/components/retriever/README.md | 2 +- .../core/components/table_ocr/README.md | 2 +- .../core/components/text_to_image/README.md | 2 +- .../core/components/translate/README.md | 2 +- appbuilder/core/components/tts/README.md | 2 +- appbuilder/core/console/dataset/README.md | 2 +- appbuilder/core/console/rag/README.md | 2 +- docs/get_model_list.md | 2 +- docs/tools/markdown_parse.py | 22 +++++++++++++++---- 38 files changed, 56 insertions(+), 42 deletions(-) diff --git a/appbuilder/core/components/animal_recognize/README.md b/appbuilder/core/components/animal_recognize/README.md index 6341420cd..3d42221d9 100644 --- a/appbuilder/core/components/animal_recognize/README.md +++ b/appbuilder/core/components/animal_recognize/README.md @@ -45,7 +45,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/asr/README.md b/appbuilder/core/components/asr/README.md index 5a63a917f..14fb73118 100644 --- a/appbuilder/core/components/asr/README.md +++ b/appbuilder/core/components/asr/README.md @@ -38,7 +38,7 @@ print(out.content) ## 参数说明 ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/dish_recognize/README.md b/appbuilder/core/components/dish_recognize/README.md index 038b3c72d..16f6af62f 100644 --- a/appbuilder/core/components/dish_recognize/README.md +++ b/appbuilder/core/components/dish_recognize/README.md @@ -39,7 +39,7 @@ print(resp.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/doc_crop_enhance/README.md b/appbuilder/core/components/doc_crop_enhance/README.md index 375914b94..34d3900a1 100644 --- a/appbuilder/core/components/doc_crop_enhance/README.md +++ b/appbuilder/core/components/doc_crop_enhance/README.md @@ -43,7 +43,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/doc_parser/README.md b/appbuilder/core/components/doc_parser/README.md index 8df4cbf4e..416bb887b 100644 --- a/appbuilder/core/components/doc_parser/README.md +++ b/appbuilder/core/components/doc_parser/README.md @@ -52,7 +52,7 @@ print(parse_result.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/doc_splitter/README.md b/appbuilder/core/components/doc_splitter/README.md index 3af147f7d..1ccc07f2d 100644 --- a/appbuilder/core/components/doc_splitter/README.md +++ b/appbuilder/core/components/doc_splitter/README.md @@ -57,7 +57,7 @@ print(res_paras.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" @@ -128,7 +128,7 @@ print(res_paras.content) ## 参数说明: ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/embeddings/README.md b/appbuilder/core/components/embeddings/README.md index 052fa21c8..3c66b8312 100644 --- a/appbuilder/core/components/embeddings/README.md +++ b/appbuilder/core/components/embeddings/README.md @@ -103,7 +103,7 @@ print(outs.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/extract_table/README.md b/appbuilder/core/components/extract_table/README.md index 02c0d7bd1..3dd48a4d9 100644 --- a/appbuilder/core/components/extract_table/README.md +++ b/appbuilder/core/components/extract_table/README.md @@ -52,7 +52,7 @@ logger.info("Tables: {}".format( ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/general_ocr/README.md b/appbuilder/core/components/general_ocr/README.md index 4328ee801..7063e3f47 100644 --- a/appbuilder/core/components/general_ocr/README.md +++ b/appbuilder/core/components/general_ocr/README.md @@ -38,7 +38,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/handwrite_ocr/README.md b/appbuilder/core/components/handwrite_ocr/README.md index 4fe9b6a83..32669779b 100644 --- a/appbuilder/core/components/handwrite_ocr/README.md +++ b/appbuilder/core/components/handwrite_ocr/README.md @@ -44,7 +44,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python import os diff --git a/appbuilder/core/components/image_understand/README.md b/appbuilder/core/components/image_understand/README.md index 1c485b900..0dd9bfc3c 100644 --- a/appbuilder/core/components/image_understand/README.md +++ b/appbuilder/core/components/image_understand/README.md @@ -37,7 +37,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python import os os.environ["APPBUILDER_TOKEN"] = "..." diff --git a/appbuilder/core/components/landmark_recognize/README.md b/appbuilder/core/components/landmark_recognize/README.md index 6d3750e0b..06abfcdb1 100644 --- a/appbuilder/core/components/landmark_recognize/README.md +++ b/appbuilder/core/components/landmark_recognize/README.md @@ -44,7 +44,7 @@ print(out.content) # eg: {"landmark": "尼罗河"} ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python import os diff --git a/appbuilder/core/components/llms/dialog_summary/README.md b/appbuilder/core/components/llms/dialog_summary/README.md index d0a5783e1..65de41d55 100644 --- a/appbuilder/core/components/llms/dialog_summary/README.md +++ b/appbuilder/core/components/llms/dialog_summary/README.md @@ -32,7 +32,7 @@ print(answer) ## 参数说明 ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/is_complex_query/README.md b/appbuilder/core/components/llms/is_complex_query/README.md index f842b4e75..9b3a2e911 100644 --- a/appbuilder/core/components/llms/is_complex_query/README.md +++ b/appbuilder/core/components/llms/is_complex_query/README.md @@ -33,7 +33,7 @@ print("Answer: \n{}".format(answer.content)) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/mrc/README.md b/appbuilder/core/components/llms/mrc/README.md index 1a3f46964..489e333d5 100644 --- a/appbuilder/core/components/llms/mrc/README.md +++ b/appbuilder/core/components/llms/mrc/README.md @@ -63,7 +63,7 @@ print(result) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 import os diff --git a/appbuilder/core/components/llms/nl2pandas/README.md b/appbuilder/core/components/llms/nl2pandas/README.md index cd7471856..97afd1781 100644 --- a/appbuilder/core/components/llms/nl2pandas/README.md +++ b/appbuilder/core/components/llms/nl2pandas/README.md @@ -37,7 +37,7 @@ answer = nl2pandas(query, table_info = table_info) ## 参数说明 ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/oral_query_generation/README.md b/appbuilder/core/components/llms/oral_query_generation/README.md index 4989bfa5a..52ec7895e 100644 --- a/appbuilder/core/components/llms/oral_query_generation/README.md +++ b/appbuilder/core/components/llms/oral_query_generation/README.md @@ -33,7 +33,7 @@ print(result) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/qa_pair_mining/README.md b/appbuilder/core/components/llms/qa_pair_mining/README.md index 64e8cd03a..a3fdd5050 100644 --- a/appbuilder/core/components/llms/qa_pair_mining/README.md +++ b/appbuilder/core/components/llms/qa_pair_mining/README.md @@ -36,7 +36,7 @@ print(">>> Output: {}".format(answer.content)) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/query_decomposition/README.md b/appbuilder/core/components/llms/query_decomposition/README.md index f3c459aad..943fa7918 100644 --- a/appbuilder/core/components/llms/query_decomposition/README.md +++ b/appbuilder/core/components/llms/query_decomposition/README.md @@ -33,7 +33,7 @@ print("Answer: \n{}".format(answer.content)) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/query_rewrite/README.md b/appbuilder/core/components/llms/query_rewrite/README.md index a701beee1..2b28dcf3d 100644 --- a/appbuilder/core/components/llms/query_rewrite/README.md +++ b/appbuilder/core/components/llms/query_rewrite/README.md @@ -32,7 +32,7 @@ print(answer) ## 参数说明 ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/style_rewrite/README.md b/appbuilder/core/components/llms/style_rewrite/README.md index fa460bb35..35d7e3c02 100644 --- a/appbuilder/core/components/llms/style_rewrite/README.md +++ b/appbuilder/core/components/llms/style_rewrite/README.md @@ -42,7 +42,7 @@ answer = style_rewrite(appbuilder.Message("文心大模型发布新版"), style= ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/style_writing/README.md b/appbuilder/core/components/llms/style_writing/README.md index b84817f92..09c18ddfe 100644 --- a/appbuilder/core/components/llms/style_writing/README.md +++ b/appbuilder/core/components/llms/style_writing/README.md @@ -41,7 +41,7 @@ print(answer) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/llms/tag_extraction/README.md b/appbuilder/core/components/llms/tag_extraction/README.md index 34a348d06..7515fcb86 100644 --- a/appbuilder/core/components/llms/tag_extraction/README.md +++ b/appbuilder/core/components/llms/tag_extraction/README.md @@ -40,7 +40,7 @@ result = tag_extraction(appbuilder.Message("从这段文本中抽取关键标签 ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/matching/README.md b/appbuilder/core/components/matching/README.md index a9dec8531..08a679f90 100644 --- a/appbuilder/core/components/matching/README.md +++ b/appbuilder/core/components/matching/README.md @@ -46,7 +46,7 @@ print(contexts_matched.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/mix_card_ocr/README.md b/appbuilder/core/components/mix_card_ocr/README.md index dfe2e3734..f1a09040b 100644 --- a/appbuilder/core/components/mix_card_ocr/README.md +++ b/appbuilder/core/components/mix_card_ocr/README.md @@ -47,7 +47,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python import os diff --git a/appbuilder/core/components/object_recognize/README.md b/appbuilder/core/components/object_recognize/README.md index 9e019de9a..c72f3a347 100644 --- a/appbuilder/core/components/object_recognize/README.md +++ b/appbuilder/core/components/object_recognize/README.md @@ -40,7 +40,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/plant_recognize/README.md b/appbuilder/core/components/plant_recognize/README.md index 2ea13cc08..f7781526e 100644 --- a/appbuilder/core/components/plant_recognize/README.md +++ b/appbuilder/core/components/plant_recognize/README.md @@ -41,7 +41,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python import os diff --git a/appbuilder/core/components/qrcode_ocr/README.md b/appbuilder/core/components/qrcode_ocr/README.md index 0c54b3fb7..8093a4b22 100644 --- a/appbuilder/core/components/qrcode_ocr/README.md +++ b/appbuilder/core/components/qrcode_ocr/README.md @@ -46,7 +46,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/rag_with_baidu_search/README.md b/appbuilder/core/components/rag_with_baidu_search/README.md index 0ddbc9688..e0606575e 100644 --- a/appbuilder/core/components/rag_with_baidu_search/README.md +++ b/appbuilder/core/components/rag_with_baidu_search/README.md @@ -43,7 +43,7 @@ print(result) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python import os diff --git a/appbuilder/core/components/retriever/README.md b/appbuilder/core/components/retriever/README.md index 336c623d6..fa0a74df5 100644 --- a/appbuilder/core/components/retriever/README.md +++ b/appbuilder/core/components/retriever/README.md @@ -49,7 +49,7 @@ vector_index.delete_all_segments() ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/table_ocr/README.md b/appbuilder/core/components/table_ocr/README.md index f172685d7..9d00d0f75 100644 --- a/appbuilder/core/components/table_ocr/README.md +++ b/appbuilder/core/components/table_ocr/README.md @@ -47,7 +47,7 @@ print(out.content) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/text_to_image/README.md b/appbuilder/core/components/text_to_image/README.md index 5d6ae996c..18f0a3afe 100644 --- a/appbuilder/core/components/text_to_image/README.md +++ b/appbuilder/core/components/text_to_image/README.md @@ -31,7 +31,7 @@ print(out.content) ## 参数说明 ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/components/translate/README.md b/appbuilder/core/components/translate/README.md index f34f8c1f0..5391f154d 100644 --- a/appbuilder/core/components/translate/README.md +++ b/appbuilder/core/components/translate/README.md @@ -43,7 +43,7 @@ print(resp.content) ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 diff --git a/appbuilder/core/components/tts/README.md b/appbuilder/core/components/tts/README.md index 5a47e2a85..15f8b03d3 100644 --- a/appbuilder/core/components/tts/README.md +++ b/appbuilder/core/components/tts/README.md @@ -46,7 +46,7 @@ print("成功将文本转语音,wav格式文件已写入:{}".format(wav_samp ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python import os diff --git a/appbuilder/core/console/dataset/README.md b/appbuilder/core/console/dataset/README.md index 0c1fedcbd..7f84a8e99 100644 --- a/appbuilder/core/console/dataset/README.md +++ b/appbuilder/core/console/dataset/README.md @@ -51,7 +51,7 @@ dataset.delete_documents(document_ids) ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/appbuilder/core/console/rag/README.md b/appbuilder/core/console/rag/README.md index a67d39926..690bc0517 100644 --- a/appbuilder/core/console/rag/README.md +++ b/appbuilder/core/console/rag/README.md @@ -37,7 +37,7 @@ print(answer.extra) # 获取结果来源 ## 参数说明 ### 鉴权说明 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/docs/get_model_list.md b/docs/get_model_list.md index c47030785..1482e6e24 100644 --- a/docs/get_model_list.md +++ b/docs/get_model_list.md @@ -19,7 +19,7 @@ print(models) ## 参数说明 ### 鉴权配置 -使用组件之前,请首先申请并设置鉴权参数,可参考[使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 +使用组件之前,请首先申请并设置鉴权参数,可参考[SDK使用流程](https://cloud.baidu.com/doc/AppBuilder/s/Olq6grrt6#1%E3%80%81%E5%88%9B%E5%BB%BA%E5%AF%86%E9%92%A5)。 ```python # 设置环境中的TOKEN,以下示例略 os.environ["APPBUILDER_TOKEN"] = "bce-YOURTOKEN" diff --git a/docs/tools/markdown_parse.py b/docs/tools/markdown_parse.py index 1237903c8..db82cf3f4 100644 --- a/docs/tools/markdown_parse.py +++ b/docs/tools/markdown_parse.py @@ -49,12 +49,26 @@ "object_recognize": "object_recognize", "plant_recognize": "plant_recognize", "qrcode_ocr": "qrcode_ocr", - "rag_with_baidu_search": "rag_with_baidu_search", + "rag_with_baidu_search": "web_search", "retriever": "retriever", "table_ocr": "table_ocr", - "text_to_image": "text_to_image", + "text_to_image": "image", "translate": "translate", - "tts": "tts_base" + "tts": "tts", + "tts_high": "tts_high", + "tts_audio": "tts_audio", + "code_interpreter": "code_interpreter", + "web_pilot": "web_pilot", + "wolfram_alpha": "wolfram_alpha", + "arxiv": "arxiv", + "product_query": "product_query", + "flight_query": "flight_query", + "query_express_package": "query_express_package", + "bing_image_search": "bing_image_search", + "news_get": "news_get", + "weather_query": "weather_query", + "video_get": "video_get" + } # 循环中的数据 @@ -174,7 +188,7 @@ def parse_file(file_path): sdk_detail_sql = f"insert into sdk_detail(sdk_code, introduce, interface_doc, deploy_package, title) values('{sdk_code}','{introduce}','{interface_doc}',null,'{parsed_content.get('title')}') on conflict(sdk_code) do update set introduce='{introduce}',interface_doc='{interface_doc}',title='{parsed_content.get('title')}';" sdk_detail_sqls.append(sdk_detail_sql) remark = parsed_content.get('remark').replace('\n', '') - sdk_component_sql = f"update sdk_component set name = '{parsed_content.get('name')}',remark='{remark}' where sdk_code = '{sdk_code}';" + sdk_component_sql = f"update sdk_tool set name = '{parsed_content.get('name')}',remark='{remark}' where sdk_code = '{sdk_code}';" sdk_component_sqls.append(sdk_component_sql) for key, value in parsed_content.get('基本用法').items(): code = value.replace('\n', r'\n').replace('\'', '\'\'')