llama-index tools valyu integration
Project description
LlamaIndex Tools Integration: Valyu
This tool connects to Valyu and its Exchange Platform to easily enable your agent to search and get content from programmaticly licensed proprietary content and the web.
To begin, you need to obtain an API key on the Valyu developer dashboard.
Usage
Here's an example usage of the ValyuToolSpec.
# %pip install llama-index llama-index-core llama-index-tools-valyu
from llama_index.tools.valyu import ValyuToolSpec
from llama_index.agent.openai import OpenAIAgent
valyu_tool = ValyuToolSpec(
api_key=os.environ["VALYU_API_KEY"],
max_price=100, # default is 100
)
agent = OpenAIAgent.from_tools(valyu_tool.to_tool_list())
agent.chat(
"What are the implications of using different volatility calculation methods (EWMA vs. GARCH) in Value at Risk (VaR) modeling for fixed income portfolios?"
)
context: Search for a list of documents relating to a natural language query from programmaticly licensed proprietary content and the web.
This loader is designed to be used as a way to load data as a Tool in a 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
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_valyu-0.1.0.tar.gz.
File metadata
- Download URL: llama_index_tools_valyu-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a81996c86361026799c7925bab348e508086568b87108b40924533d5d1269a85
|
|
| MD5 |
9ea6d2a31b11955d7a07f1d7785cdad3
|
|
| BLAKE2b-256 |
d41b921d51b0a593d2aee793cdad9c0f5aed2a4942b6786744596a016c8e18d4
|
File details
Details for the file llama_index_tools_valyu-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_tools_valyu-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
369d132ae1e43dd0f2b9c5d763e6d0a48057ac3a026ca990896f6180f82c9ee8
|
|
| MD5 |
2fca472a5585a75c46526e0b79035ad1
|
|
| BLAKE2b-256 |
4ce56825553e369bd696165090dc0d69488fbde4de211ce7982c8c775a541509
|