Name | llama-index-tools-wolfram-alpha JSON |
Version |
0.1.3
JSON |
| download |
home_page | |
Summary | llama-index tools wolfram_alpha integration |
upload_time | 2024-02-21 22:36:00 |
maintainer | ajhofmann |
docs_url | None |
author | Your Name |
requires_python | >=3.8.1,<4.0 |
license | MIT |
keywords |
math
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Wolfram Alpha Tool
This tool connects to a Wolfram alpha account and allows an Agent to perform searches
You will need to provide an API key: https://products.wolframalpha.com/api
## Usage
This tool has more extensive example usage documented in a Jupyter notebook [here](https://github.com/emptycrown/llama-hub/tree/main/llama_hub/tools/notebooks/wolfram_alpha.ipynb)
Here's an example usage of the WolframAlphaToolSpec.
```python
from llama_index.tools.wolfram_alpha import WolframAlphaToolSpec
from llama_index.agent import OpenAIAgent
wolfram_spec = WolframAlphaToolSpec(app_id="API-key")
agent = OpenAIAgent.from_tools(wolfram_spec.to_tool_list(), verbose=True)
agent.chat("how many calories are in 100g of milk chocolate")
agent.chat("what is the mass of the helium in the sun")
```
`wolfram_alpha_query`: Get the result of a query from Wolfram Alpha
This loader is designed to be used as a way to load data as a Tool in a Agent. See [here](https://github.com/emptycrown/llama-hub/tree/main) for examples.
Raw data
{
"_id": null,
"home_page": "",
"name": "llama-index-tools-wolfram-alpha",
"maintainer": "ajhofmann",
"docs_url": null,
"requires_python": ">=3.8.1,<4.0",
"maintainer_email": "",
"keywords": "math",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/4e/56/633b1d0b0a0bd69aaaa40b44c9c1811ee117fd171c6660672c8deee3e001/llama_index_tools_wolfram_alpha-0.1.3.tar.gz",
"platform": null,
"description": "# Wolfram Alpha Tool\n\nThis tool connects to a Wolfram alpha account and allows an Agent to perform searches\n\nYou will need to provide an API key: https://products.wolframalpha.com/api\n\n## Usage\n\nThis tool has more extensive example usage documented in a Jupyter notebook [here](https://github.com/emptycrown/llama-hub/tree/main/llama_hub/tools/notebooks/wolfram_alpha.ipynb)\n\nHere's an example usage of the WolframAlphaToolSpec.\n\n```python\nfrom llama_index.tools.wolfram_alpha import WolframAlphaToolSpec\nfrom llama_index.agent import OpenAIAgent\n\n\nwolfram_spec = WolframAlphaToolSpec(app_id=\"API-key\")\n\nagent = OpenAIAgent.from_tools(wolfram_spec.to_tool_list(), verbose=True)\n\nagent.chat(\"how many calories are in 100g of milk chocolate\")\nagent.chat(\"what is the mass of the helium in the sun\")\n```\n\n`wolfram_alpha_query`: Get the result of a query from Wolfram Alpha\n\nThis loader is designed to be used as a way to load data as a Tool in a Agent. See [here](https://github.com/emptycrown/llama-hub/tree/main) for examples.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index tools wolfram_alpha integration",
"version": "0.1.3",
"project_urls": null,
"split_keywords": [
"math"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b0359a0e53c9ffb215a0d1888c141a4e0b4d9892caefcf944475532784b707f0",
"md5": "626f7aa8ee938c156975b5c542c31e39",
"sha256": "b3d43696d5e7b4e9b38770d9469cc5033ce1f61b41311e5c6f2f08b2bdc0b0b2"
},
"downloads": -1,
"filename": "llama_index_tools_wolfram_alpha-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "626f7aa8ee938c156975b5c542c31e39",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.1,<4.0",
"size": 2687,
"upload_time": "2024-02-21T22:35:58",
"upload_time_iso_8601": "2024-02-21T22:35:58.924306Z",
"url": "https://files.pythonhosted.org/packages/b0/35/9a0e53c9ffb215a0d1888c141a4e0b4d9892caefcf944475532784b707f0/llama_index_tools_wolfram_alpha-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4e56633b1d0b0a0bd69aaaa40b44c9c1811ee117fd171c6660672c8deee3e001",
"md5": "555b385f6e22e13834fd2a3f6b4ef71f",
"sha256": "d15f6045865ec2f6d01197a9b7719fcbce5da8bd417b8df49a4ecf8afd7448f8"
},
"downloads": -1,
"filename": "llama_index_tools_wolfram_alpha-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "555b385f6e22e13834fd2a3f6b4ef71f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.1,<4.0",
"size": 2365,
"upload_time": "2024-02-21T22:36:00",
"upload_time_iso_8601": "2024-02-21T22:36:00.409491Z",
"url": "https://files.pythonhosted.org/packages/4e/56/633b1d0b0a0bd69aaaa40b44c9c1811ee117fd171c6660672c8deee3e001/llama_index_tools_wolfram_alpha-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-21 22:36:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-wolfram-alpha"
}