llama-index tools desearch integration
Project description
Here's a README for the Desearch integration, modeled after the example you provided:
LlamaIndex Tools Integration: Desearch
This tool connects to Desearch to enable your agent to perform searches across various platforms like web, Twitter, and more.
To begin, you need to obtain an API key from the Desearch developer dashboard.
Website: https://desearch.io
Usage
Here's an example usage of the DesearchToolSpec.
To get started, you will need an Desearch API key
# %pip install llama-index llama-index-core desearch-py
from llama_index_desearch.tools import DesearchToolSpec
from llama_index.agent.openai import OpenAIAgent
desearch_tool = DesearchToolSpec(
api_key=os.environ["DESEARCH_API_KEY"],
)
agent = OpenAIAgent.from_tools(desearch_tool.to_tool_list())
agent.chat("Can you find the latest news on quantum computing?")
Available Functions
- ai_search_tool: Perform a search using Desearch across multiple platforms like web, Twitter, Reddit, etc.
- twitter_search_tool: Perform a basic Twitter search using the Desearch API.
- web_search_tool: Perform a basic web search using the Desearch API.
This loader is designed to be used as a way to load data as a Tool in an Agent.
You can copy and paste this into your README file. Let me know if you need any more modifications!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_tools_desearch-0.1.1.tar.gz.
File metadata
- Download URL: llama_index_tools_desearch-0.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e109c085530dd40f0e911c67743d7b05b8510dda1d128a21ef5aece742f6318b
|
|
| MD5 |
9b1f850019cb9cb9f04bec11d721e7e5
|
|
| BLAKE2b-256 |
044d1609f6008ca2cd4cbbc39fd1ff69c89bcdd0c6849965cea36b7f4f938784
|
File details
Details for the file llama_index_tools_desearch-0.1.1-py3-none-any.whl.
File metadata
- Download URL: llama_index_tools_desearch-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f563c11306f9c684ffff8eb07bdac1fb4b861cf353313c82a3e983d65fddc93
|
|
| MD5 |
f6ee5508e93a8b652f4bada359a7a26f
|
|
| BLAKE2b-256 |
57d127a48fd39c07b1e3988f814622116e7063711e0db1e4187c98991ff62161
|