Wolfram

Vand ID: vand-c2c5b52e-23ac-48e8-bbf2-6560043ffc35

Learn how to easily use the Wolfram tool with the OpenAI API.

None

OpenAI function calls:

{
  "name": "getWolframCloudResults",
  "description": "Evaluate Wolfram Language code",
  "parameters": {
    "type": "object",
    "properties": {
      "input": {
        "type": "string",
        "description": "the input expression"
      }
    },
    "required": [
      "input"
    ]
  }
}
{
  "name": "getWolframAlphaResults",
  "description": "Get Wolfram|Alpha results",
  "parameters": {
    "type": "object",
    "properties": {
      "input": {
        "type": "string",
        "description": "the input"
      },
      "assumption": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "description": "the assumption to use, passed back from a previous query with the same input."
      }
    },
    "required": [
      "input"
    ]
  }
}

Auth Type

none

Servers

https://www.wolframalpha.com

OpenAPI:

{
  "openapi": "3.1.0",
  "info": {
    "title": "Wolfram",
    "version": "v0.1"
  },
  "servers": [
    {
      "url": "https://www.wolframalpha.com",
      "description": "Wolfram Server for ChatGPT"
    }
  ],
  "paths": {
    "/api/v1/cloud-plugin": {
      "get": {
        "operationId": "getWolframCloudResults",
        "externalDocs": "https://reference.wolfram.com/language/",
        "summary": "Evaluate Wolfram Language code",
        "responses": {
          "200": {
            "description": "The result of the Wolfram Language evaluation",
            "content": {
              "text/plain": {}
            }
          },
          "500": {
            "description": "Wolfram Cloud was unable to generate a result"
          },
          "400": {
            "description": "The request is missing the \u0027input\u0027 parameter"
          },
          "403": {
            "description": "Unauthorized"
          },
          "503": {
            "description": "Service temporarily unavailable. This may be the result of too many requests."
          }
        },
        "parameters": [
          {
            "name": "input",
            "in": "query",
            "description": "the input expression",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/api/v1/llm-api": {
      "get": {
        "operationId": "getWolframAlphaResults",
        "externalDocs": "https://products.wolframalpha.com/api",
        "summary": "Get Wolfram|Alpha results",
        "responses": {
          "200": {
            "description": "The result of the Wolfram|Alpha query",
            "content": {
              "text/plain": {}
            }
          },
          "400": {
            "description": "The request is missing the \u0027input\u0027 parameter"
          },
          "403": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Wolfram|Alpha was unable to generate a result"
          },
          "501": {
            "description": "Wolfram|Alpha was unable to generate a result"
          },
          "503": {
            "description": "Service temporarily unavailable. This may be the result of too many requests."
          }
        },
        "parameters": [
          {
            "name": "input",
            "in": "query",
            "description": "the input",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assumption",
            "in": "query",
            "description": "the assumption to use, passed back from a previous query with the same input.",
            "required": false,
            "explode": true,
            "style": "form",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ]
      }
    }
  }
}