diff --git a/README.md b/README.md index 057f57e..fbbab75 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # NextChat-Awesome-Plugins -NextChat Awesome Plugins + +This project stores [Plugins](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5353) for [ChatGPT-Next-Web](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web) + +## Plugins + +- [WolframAlpha plugin](./plugins/wolframalpha) + diff --git a/plugins/wolframalpha/README.md b/plugins/wolframalpha/README.md new file mode 100644 index 0000000..8c1b5bd --- /dev/null +++ b/plugins/wolframalpha/README.md @@ -0,0 +1,29 @@ +# WolframAlpha + +> A wrapper around Wolfram Alpha. Useful for when you need to answer questions about Math, Science, Technology, Culture, Society and Everyday Life. Input should be a search query. If the result contains an image link, use the markdown syntax to return the image. + +## Schema +[opanapi.json](./opanapi.json) + +## Servers + +`https://www.wolframalpha.com` + +## Operations + +1. Calculate +> `GET` /api/v1/llm-api?input= + +## Authentication + +type: custom +location: query +value: appid=`xxx` + +![Authentication](./authentication.png) + +## Preview + +![Preview](./preview.png) + + diff --git a/plugins/wolframalpha/authentication.png b/plugins/wolframalpha/authentication.png new file mode 100644 index 0000000..83edf5d Binary files /dev/null and b/plugins/wolframalpha/authentication.png differ diff --git a/plugins/wolframalpha/openapi.json b/plugins/wolframalpha/openapi.json new file mode 100644 index 0000000..4cc4a00 --- /dev/null +++ b/plugins/wolframalpha/openapi.json @@ -0,0 +1,36 @@ +{ + "openapi": "3.1.0", + "info": { + "title": "WolframAlpha", + "description": "A wrapper around Wolfram Alpha. Useful for when you need to answer questions about Math, Science, Technology, Culture, Society and Everyday Life. Input should be a search query. If the result contains an image link, use the markdown syntax to return the image.", + "version": "v1.0.0" + }, + "servers": [ + { + "url": "https://www.wolframalpha.com" + } + ], + "paths": { + "/api/v1/llm-api": { + "get": { + "operationId": "Calculate", + "description": "A wrapper around Wolfram Alpha. Useful for when you need to answer questions about Math, Science, Technology, Culture, Society and Everyday Life. Input should be a search query. If the result contains an image link, use the markdown syntax to return the image.", + "deprecated": false, + "parameters": [ + { + "name": "input", + "in": "query", + "required": true, + "description": "questions about Math, Science, Technology, Culture, Society and Everyday Life", + "schema": { + "type": "string" + } + } + ] + } + } + }, + "components": { + "schemas": {} + } +} diff --git a/plugins/wolframalpha/preview.png b/plugins/wolframalpha/preview.png new file mode 100644 index 0000000..a4d2790 Binary files /dev/null and b/plugins/wolframalpha/preview.png differ