From 195f6873c866c13fd799b1de277f6cf5c541a8f7 Mon Sep 17 00:00:00 2001 From: foryoung365 Date: Mon, 28 Apr 2025 18:53:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=B0=86=E4=B8=AD=E6=96=87=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E7=BF=BB=E8=AF=91=E4=B8=BA=E8=8B=B1=E6=96=87=EF=BC=8C=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=A0=BC=E5=BC=8F=E4=BB=A5=E6=8F=90=E9=AB=98=E5=8F=AF?= =?UTF-8?q?=E8=AF=BB=E6=80=A7=EF=BC=8C=E7=A1=AE=E4=BF=9D=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E3=80=81=E8=AE=A4=E8=AF=81=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E5=92=8C=E9=99=90=E5=88=B6=E4=BF=A1=E6=81=AF=E6=B8=85=E6=99=B0?= =?UTF-8?q?=E6=98=8E=E4=BA=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 56 ++++++++++++++++++++++++++-------------------------- README_CN.md | 41 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 28 deletions(-) create mode 100644 README_CN.md diff --git a/README.md b/README.md index e3fd49a..b5cce73 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,41 @@ -# LobeChat Google Custom Search 插件 +# LobeChat Google Custom Search Plugin -使用 [Google Custom Search API](https://developers.google.com/custom-search) 的LobeChat搜索插件。 +A LobeChat search plugin that uses the [Google Custom Search API](https://developers.google.com/custom-search). -## 设置步骤 +## Setup Steps -1. 创建 Google Custom Search Engine - - 访问 [Google Programmable Search Engine](https://programmablesearch.google.com/create) - - 创建一个自定义搜索引擎 - - 获取您的搜索引擎ID (cx参数) +1. Create a Google Custom Search Engine + - Visit [Google Programmable Search Engine](https://programmablesearch.google.com/create) + - Create a custom search engine + - Get your search engine ID (cx parameter) -2. 获取 Google API 密钥 - - 访问 [Google Cloud Console](https://console.cloud.google.com/) - - 创建一个项目 - - 启用 "Custom Search API" - - 创建API密钥 (key参数) +2. Get Google API Key + - Visit [Google Cloud Console](https://console.cloud.google.com/) + - Create a project + - Enable "Custom Search API" + - Create an API key (key parameter) -3. 在LobeChat中配置插件 - - 将此插件添加到LobeChat - - 在配置页面中提供您的API密钥和搜索引擎ID - - 这些凭据会作为安全参数自动添加到每个请求中 +3. Configure the Plugin in LobeChat + - Add this plugin to LobeChat + - Provide your API key and search engine ID in the configuration page + - These credentials will be automatically added to each request as secure parameters -## 认证方式 +## Authentication Method -此插件使用以下两个安全参数: -- `key`: 您的Google API密钥 -- `cx`: 您的自定义搜索引擎ID +This plugin uses the following two secure parameters: +- `key`: Your Google API key +- `cx`: Your custom search engine ID -这两个参数会作为查询参数添加到API请求中。 +These two parameters are added as query parameters to the API request. -## 限制 +## Limitations -- Google Custom Search API 免费版每天限制100次查询 -- 付费版可获得更多配额 +- Google Custom Search API free version is limited to 100 queries per day +- Paid version provides more quota -## 隐私 +## Privacy -- 您的搜索查询将发送到Google -- 此插件不会收集或存储您的个人数据 +- Your search queries will be sent to Google +- This plugin does not collect or store your personal data -`(与上述任何实体无关联)` +`(Not affiliated with any of the above entities)` \ No newline at end of file diff --git a/README_CN.md b/README_CN.md new file mode 100644 index 0000000..e3fd49a --- /dev/null +++ b/README_CN.md @@ -0,0 +1,41 @@ +# LobeChat Google Custom Search 插件 + +使用 [Google Custom Search API](https://developers.google.com/custom-search) 的LobeChat搜索插件。 + +## 设置步骤 + +1. 创建 Google Custom Search Engine + - 访问 [Google Programmable Search Engine](https://programmablesearch.google.com/create) + - 创建一个自定义搜索引擎 + - 获取您的搜索引擎ID (cx参数) + +2. 获取 Google API 密钥 + - 访问 [Google Cloud Console](https://console.cloud.google.com/) + - 创建一个项目 + - 启用 "Custom Search API" + - 创建API密钥 (key参数) + +3. 在LobeChat中配置插件 + - 将此插件添加到LobeChat + - 在配置页面中提供您的API密钥和搜索引擎ID + - 这些凭据会作为安全参数自动添加到每个请求中 + +## 认证方式 + +此插件使用以下两个安全参数: +- `key`: 您的Google API密钥 +- `cx`: 您的自定义搜索引擎ID + +这两个参数会作为查询参数添加到API请求中。 + +## 限制 + +- Google Custom Search API 免费版每天限制100次查询 +- 付费版可获得更多配额 + +## 隐私 + +- 您的搜索查询将发送到Google +- 此插件不会收集或存储您的个人数据 + +`(与上述任何实体无关联)`