# WolframAlpha

The WolframAlpha plugin allows BoltAI to search for optimized data from the WolframAlpha using the WolframAlpha LLM API.

### How to set up the WolframAlpha plugin?

1. Make sure you have generated a WolframAlpha AppID. Follow [this official guide](https://products.wolframalpha.com/llm-api/documentation) to get started.
2. Go to Settings > Plugins > WolframAlpha. Select tab `Settings` then enter your AppID.&#x20;

<figure><img src="https://3493584844-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FynYW2xZqA52spY7XgWis%2Fuploads%2FKIyzirhoM4U5uJ4fjkeq%2FCleanShot%202024-10-24%20at%2010.58.47%402x.png?alt=media&#x26;token=47410cb9-6377-417d-afe1-02bf9bc41f9c" alt=""><figcaption><p>Signup for a Wolfram ID and Obtain an AppID</p></figcaption></figure>

### How to use the WolframAlpha plugin?

It's similar to the Web Search Plugin.

1. Start a new chat. Choose an LLM that supports Function Calling (for example GPT-4o)
2. Enable the WolframAlpha plugin.
3. Enter your prompt. BoltAI should smartly decide if it needs to ask WolframAlpha for more data.

<figure><img src="https://3493584844-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FynYW2xZqA52spY7XgWis%2Fuploads%2FhTZdhAwdvwgPnZIK1GB0%2FCleanShot%202024-07-26%20at%2022.22.42%402x.png?alt=media&#x26;token=3cb5a618-0497-4198-a9f6-57169f6b7da4" alt=""><figcaption><p>WolframAlpha Plugin on BoltAI</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.boltai.com/docs/plugins/wolframalpha.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
