Skill

Access Real-Time Data and Recommendations

Tool integration that connects AI agents to real-time data from Dappier, including web search, stock market data, news, weather, travel deals, and AI-powered

Works with openaidappierpolygon.io

91
Spark score
out of 100
Updated 3 months ago
Version 1.0.0

Add to Favorites

Why it matters

Empower your AI agents with real-time, rights-cleared data from trusted sources like web search, finance, and news. Get up-to-the-minute insights and AI-powered content recommendations to enhance agent capabilities.

Outcomes

What it gets done

01

Fetch real-time web search results, stock market data, and news.

02

Provide AI-powered content recommendations across various domains.

03

Integrate with Dappier API for enriched, prompt-ready data.

04

Enhance AI agent decision-making with verified and up-to-date information.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/li-tool-tools-dappier | bash

Capabilities

What this skill does

Search the web

Searches the web and retrieves relevant sources.

Query a database

Writes and executes SQL or NoSQL queries on databases.

Summarize

Condenses long documents or threads into key takeaways.

RAG index

Chunks, embeds, and indexes documents for semantic retrieval.

Overview

Dappier Tools

What it does

This package provides two tool specifications for connecting AI agents to Dappier's real-time data platform. DappierRealTimeSearchToolSpec fetches up-to-the-minute information including web search results, stock market data, news, weather, and travel deals. DappierAIRecommendationsToolSpec provides AI-powered content recommendations across domains including sports news, lifestyle news, pet care content from iHeartDogs and iHeartCats, compassionate living from GreenMonster, and local news from WISH-TV and 9&10 News. The tools support semantic search, trending content, and domain-specific target

How it connects

Use this tool when your AI agent needs access to current information that changes frequently-real-time stock prices, today's weather, breaking news, or timely content recommendations. It's particularly valuable for applications requiring verified, up-to-date data from specific trusted sources rather than static or outdated information.

Source README

Dappier Tools

Dappier is a platform that connects LLMs and Agentic AI agents to real-time, rights-cleared data from trusted sources, including web search, finance, and news. By providing enriched, prompt-ready data, Dappier empowers AI with verified and up-to-date information for a wide range of applications. Explore a wide range of data models in our marketplace at marketplace.dappier.com.

Overview

This package provides two tool specs:

  • DappierRealTimeSearchToolSpec: A powerful API-driven tool designed to fetch up-to-the-minute information from various sources, including real-time web search results, stock market data, news, weather, travel deals and much more.

  • DappierAIRecommendationsToolSpec: Provides AI-powered content recommendations across a range of domains including sports news, lifestyle news, pet care content from iHeartDogs and iHeartCats, compassionate living from GreenMonster, and local news from WISH-TV and 9&10 News.

Key Features

Real Time Search Tool

  • Real-Time Web Search: Fetches the latest news, weather updates, travel deals, and other relevant web content through AI-powered search.

  • Stock Market Insights: Retrieves real-time stock prices, financial news, and trade data from Polygon.io, enriched with AI-driven insights.

  • AI-Powered Queries: Uses pre-defined AI models to refine and enhance search results for better accuracy and relevance.

  • Seamless Integration: Works with the Dappier API, requiring a valid API key to access search functionalities.

AI Recommendations Tool

  • Domain-specific recommendations: Tailors AI-powered content suggestions across verticals like sports, lifestyle, pet care and news.

  • Smart search algorithms: Supports modes like semantic, trending, and most recent to deliver the most relevant and timely results.

  • Reference domain targeting: Lets you prioritize results from a specific site or domain for more context-aware recommendations.

  • Readable, structured output: Returns responses with clear formatting, including title, summary, author, publish date, source, and links.

Installation

pip install llama-index-tools-dappier

Setup

You'll need to set up your API keys for OpenAI and Dappier.

You can go to here to get API Key from Open AI.

os.environ["OPENAI_API_KEY"] = "openai_api_key"

You can go to here to get API Key from Dappier with free credits.

os.environ["DAPPIER_API_KEY"] = "dappier_api_key"

Usage

Real Time Search Tool

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

Here's an example usage of the DappierRealTimeSearchToolSpec.

from llama_index.tools.dappier import (
    DappierRealTimeSearchToolSpec,
)
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

dappier_tool = DappierRealTimeSearchToolSpec()
agent = FunctionAgent(
    tools=dappier_tool.to_tool_list(),
    llm=OpenAI(model="gpt-4o"),
)

await agent.run(
    "How is the weather in Boston today ? Create a detailed analysis in markdown format."
)

The tools available in are:

  • search_real_time_data: A tool that performs a real-time web search to retrieve the latest information, including news, weather, travel deals, and more.
  • search_stock_market_data: A tool that fetches real-time stock market data, including stock prices, financial news, and trade updates, with AI-powered insights.

AI Recommendations Tool

This tool has a more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-inte

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.