Name | llama-index-tools-exa JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | llama-index tools exa integration |
upload_time | 2024-08-22 07:32:42 |
maintainer | jeffzwang |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8.1 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# LlamaIndex Tools Integration: Exa
This tool connects to [Exa](https://exa.ai/) to easily enable
your agent to search and get HTML content from the Internet.
To begin, you need to obtain an API key on the [Exa developer dashboard](https://dashboard.exa.ai).
## Usage
This tool has more a extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-exa/examples/exa.ipynb)
Here's an example usage of the ExaToolSpec.
```python
# %pip install llama-index llama-index-core llama-index-tools-exa
from llama_index.tools.exa import ExaToolSpec
from llama_index.agent.openai import OpenAIAgent
exa_tool = ExaToolSpec(
api_key=os.environ["EXA_API_KEY"],
)
agent = OpenAIAgent.from_tools(exa_tool.to_tool_list())
agent.chat(
"Can you summarize the news published in the last month on superconductors"
)
```
`search`: Search for a list of articles relating to a natural language query
`retrieve_documents`: Retrieve a list of documents returned from `exa_search`.
`search_and_retrieve_documents`: Combines search and retrieve_documents to directly return a list of documents related to a search
`find_similar`: Find similar documents to a given URL.
`current_date`: Utility for the Agent to get todays date
This loader is designed to be used as a way to load data as a Tool in a Agent.
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-tools-exa",
"maintainer": "jeffzwang",
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/76/a9/85c3ed80cd5c5cee947371a6b95531c0f213c2fbd4e579e83081db96369f/llama_index_tools_exa-0.2.0.tar.gz",
"platform": null,
"description": "# LlamaIndex Tools Integration: Exa\n\nThis tool connects to [Exa](https://exa.ai/) to easily enable\nyour agent to search and get HTML content from the Internet.\n\nTo begin, you need to obtain an API key on the [Exa developer dashboard](https://dashboard.exa.ai).\n\n## Usage\n\nThis tool has more a extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-exa/examples/exa.ipynb)\n\nHere's an example usage of the ExaToolSpec.\n\n```python\n# %pip install llama-index llama-index-core llama-index-tools-exa\n\nfrom llama_index.tools.exa import ExaToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\nexa_tool = ExaToolSpec(\n api_key=os.environ[\"EXA_API_KEY\"],\n)\nagent = OpenAIAgent.from_tools(exa_tool.to_tool_list())\n\nagent.chat(\n \"Can you summarize the news published in the last month on superconductors\"\n)\n```\n\n`search`: Search for a list of articles relating to a natural language query\n\n`retrieve_documents`: Retrieve a list of documents returned from `exa_search`.\n\n`search_and_retrieve_documents`: Combines search and retrieve_documents to directly return a list of documents related to a search\n\n`find_similar`: Find similar documents to a given URL.\n\n`current_date`: Utility for the Agent to get todays date\n\nThis loader is designed to be used as a way to load data as a Tool in a Agent.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index tools exa integration",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c9807eec3ab1fb51af949e42131ac2c5b8f892efa6e8c9260305f0f846db0700",
"md5": "6ae5f82fa3dd7c2973ba0ecab1a41fda",
"sha256": "9a5da3862a8bcf0f85b39974fafe7cb7b8086ef7abb69b0c66ddc636d2b5979b"
},
"downloads": -1,
"filename": "llama_index_tools_exa-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6ae5f82fa3dd7c2973ba0ecab1a41fda",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 3608,
"upload_time": "2024-08-22T07:32:40",
"upload_time_iso_8601": "2024-08-22T07:32:40.825111Z",
"url": "https://files.pythonhosted.org/packages/c9/80/7eec3ab1fb51af949e42131ac2c5b8f892efa6e8c9260305f0f846db0700/llama_index_tools_exa-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "76a985c3ed80cd5c5cee947371a6b95531c0f213c2fbd4e579e83081db96369f",
"md5": "5f8684fa6b6b4642a6e595ba7f460c66",
"sha256": "83ba06cf3e5ff7cdc0dac27cdb8849231db9917e2577a0403c477a8472201272"
},
"downloads": -1,
"filename": "llama_index_tools_exa-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "5f8684fa6b6b4642a6e595ba7f460c66",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 3392,
"upload_time": "2024-08-22T07:32:42",
"upload_time_iso_8601": "2024-08-22T07:32:42.190399Z",
"url": "https://files.pythonhosted.org/packages/76/a9/85c3ed80cd5c5cee947371a6b95531c0f213c2fbd4e579e83081db96369f/llama_index_tools_exa-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 07:32:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-exa"
}