From d09b0a13e63f661ac79f4bb31bd1105d747acc3a Mon Sep 17 00:00:00 2001 From: Barry Wang <33831597+GithuBarry@users.noreply.github.com> Date: Mon, 15 Apr 2024 11:38:21 -0400 Subject: [PATCH] Update manifest. --- public/manifest.json | 66 +++++++++++--------------------------------- public/plugin.json | 13 +++++++++ 2 files changed, 29 insertions(+), 50 deletions(-) create mode 100644 public/plugin.json diff --git a/public/manifest.json b/public/manifest.json index efa32f4..fea66a0 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,52 +1,18 @@ { - "author": "Barry", - "homepage": "https://github.com/GithuBarry/chat-plugin-search-engine", - "identifier": "search-engine-serper", - "api": [ - { - "name": "searchGoogle", - "description": "Search Google and return top 10 results", - "url": "https://google.serper.dev/search", - "parameters": { - "type": "object", - "required": [ - "q" - ], - "properties": { - "q": { - "type": "string", - "example": "今天吃什么" - }, - "gl": { - "type": "string", - "description": "Google Geo location parameter", - "example": "cn" - }, - "hl": { - "type": "string", - "description": "Google Geo locale parameter", - "example": "zh-cn" - } - } - } - } - ], - "meta": { - "avatar": "🔍", - "tags": ["web", "search"], - "title": "Search Google via Serper", - "description": "Google search engine via Serper.dev free API (2500x🆓/month)" + "api": { + "type": "openapi", + "url": "https://raw.githubusercontent.com/GithuBarry/chat-plugin-search-engine/main/public/openapi.json", + "is_user_authenticated": false }, - "settings": { - "type": "object", - "required": ["X-API-KEY"], - "properties": { - "X-API-KEY": { - "title": "Serper API Key", - "description": "The API key for authentication with Serper API", - "type": "string", - "format": "password" - } - } - } -} \ No newline at end of file + "auth": { + "type": "none" + }, + "contact_email": "33831597+GithuBarry@users.noreply.github.com", + "description_for_human": "Google search engine via Serper.dev free API (2500x🆓/month)", + "description_for_model": "Plugin for performing web searches using the Serper.dev API to access Google search results.", + "legal_info_url": "https://serper.dev/terms", + "logo_url": "https://serper.dev/favicon.ico", + "name_for_human": "Search Google via Serper", + "name_for_model": "search-engine-serper", + "schema_version": "v1" +} diff --git a/public/plugin.json b/public/plugin.json new file mode 100644 index 0000000..a591559 --- /dev/null +++ b/public/plugin.json @@ -0,0 +1,13 @@ +{ + "author": "Barry", + "homepage": "https://github.com/GithuBarry/chat-plugin-search-engine", + "identifier": "search-engine-serper", + "manifest": "https://raw.githubusercontent.com/GithuBarry/chat-plugin-search-engine/main/public/openapi.json", + "meta": { + "avatar": "🔍", + "description": "Google search engine via Serper.dev free API (2500x🆓/month)", + "tags": ["web", "search"], + "title": "Search Google via Serper" + }, + "schemaVersion": 1 +}