Wolfram alpha
WolframAlphaToolSpec #
Bases: BaseToolSpec
Wolfram Alpha tool spec.
Source code in llama-index-integrations/tools/llama-index-tools-wolfram-alpha/llama_index/tools/wolfram_alpha/base.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
wolfram_alpha_query #
wolfram_alpha_query(query: str)
Make a query to wolfram alpha about a mathematical or scientific problem.
Example inputs
"(7 * 12 ^ 10) / 321" "How many calories are there in a pound of strawberries"
Parameters:
Name | Type | Description | Default |
---|---|---|---|
query
|
str
|
The query to be passed to wolfram alpha. |
required |
Source code in llama-index-integrations/tools/llama-index-tools-wolfram-alpha/llama_index/tools/wolfram_alpha/base.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|