Tools / wolframalpha /readme.md
ZackBradshaw's picture
Upload folder using huggingface_hub
e67043b verified

A newer version of the Gradio SDK is available: 5.6.0

Upgrade

Query Wolframalpha Service

Contributor Shengding Hu

You can get the API keys from https://products.wolframalpha.com/api/

Wolfram Tool

This tool provides dynamic computation and curated data from WolframAlpha and Wolfram Cloud.

Setup

The tool is initialized with the following parameters:

Endpoint

The tool provides the following endpoint:

  • /getWolframAlphaResults: Get Wolfram|Alpha results using a natural query.

Function Description

  • getWolframAlphaResults(input: str) -> dict: This function gets Wolfram|Alpha results using a natural query. The input should be a string. The function returns a dictionary containing the results. Note that queries to getWolframAlphaResults must ALWAYS have this structure: {"input": query}. Please directly read the output JSON.