add plugin wolframalpha

This commit is contained in:
lloydzhou
2024-09-04 11:04:59 +08:00
parent 137cd68e4f
commit 6d4fb11580
5 changed files with 72 additions and 1 deletions

View File

@@ -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)

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -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": {}
}
}

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB