Skip to main content

llama-index tools tavily_research integration

Project description

Tavily Research Tool

Tavily is a robust research API tailored specifically for LLM Agents. It seamlessly integrates with diverse data sources to ensure a superior, relevant research experience.

To begin, you need to obtain an API key on the Tavily's developer dashboard.

Why Choose Tavily Research API?

  1. Purpose-Built: Tailored just for LLM Agents, we ensure our features and results resonate with your unique needs. We take care of all the burden in searching, scraping, filtering and extracting information from online sources. All in a single API call!
  2. Versatility: Beyond just fetching results, Tavily Research API offers precision. With customizable search depths, domain management, and parsing html content controls, you're in the driver's seat.
  3. Performance: Committed to rapidity and efficiency, our API guarantees real-time outcomes without sidelining accuracy. Please note that we're just getting started, so performance may vary and improve over time.
  4. Integration-friendly: We appreciate the essence of adaptability. That's why integrating our API with your existing setup is a breeze. You can choose our Python library or a simple API call or any of our supported partners such as Langchain and LLamaIndex.
  5. Transparent & Informative: Our detailed documentation ensures you're never left in the dark. From setup basics to nuanced features, we've got you covered.

Usage

This tool has a more extensive example usage documented in a Jupyter notebook here

Here's an example usage of the TavilyToolSpec.

from llama_index.tools.tavily_research import TavilyToolSpec
from llama_index.agent.openai import OpenAIAgent

tavily_tool = TavilyToolSpec(
    api_key="your-key",
)
agent = OpenAIAgent.from_tools(tavily_tool.to_tool_list())

agent.chat("What happened in the latest Burning Man festival?")

search: Search for relevant dynamic data based on a query. Returns a list of urls and their relevant content.

This loader is designed to be used as a way to load data as a Tool in an Agent.

Project details


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

File details

Details for the file llama_index_tools_tavily_research-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_tools_tavily_research-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2b6fb6823684a63696f70fef01f13a6096068a48088f5fb95eba4919d7ca6b7f
MD5 86912d10c7ada5a6fb331d8f31975f40
BLAKE2b-256 4f3bfb5cf7d5fed4902829200af9b4b7cfce6676d9f8442cd542e2066944a59d

See more details on using hashes here.

File details

Details for the file llama_index_tools_tavily_research-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_tools_tavily_research-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fb973d56e98b3d7289e7dbedf28e687b7ada8949e67dfca7bfb468bd4ea5dbd
MD5 ac6aea68dbaa6b478a5a07b54c29fdc3
BLAKE2b-256 f7079aa94120bf066ecbd5819ad5fac340968d4352c324a4f0d37587f9d1bdae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page