llama-index readers agent_search integration
Project description
AgentSearch Loader
pip install llama-index-readers-agent-search
This framework facilitates seamless integration with the AgentSearch dataset or hosted search APIs (e.g. Search Engines) and with RAG-specialized LLM's (e.g. Search Agents).
During query-time, the user passes in the query string, search provider (bing, agent-search), and RAG provider model (SciPhi/Sensei-7B-V1).
To learn more, please refer to the documentation here.
Usage
Here's an example usage of the AgentSearchReader.
# Optionally set the API key in the env
# import os
# os.environ["SCIPHI_API_KEY"] = "..."
from llama_index.readers.agent_search import AgentSearchReader
reader = AgentSearch()
document = reader.load_data(
query="latest news",
)[0]
# text = "The latest news encompasses ... and its consequences [2]."
# metadata = {'related_queries': ['Details on the...', ...], 'search_results' : [...]}
This loader is designed to be used as a way to load data into LlamaIndex. https://github.com/run-llama/llama_index/
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_readers_agent_search-0.5.0.tar.gz.
File metadata
- Download URL: llama_index_readers_agent_search-0.5.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
070b48e92be0e1fff3214eea877efbd12c927fd55ffdfb55a019bd588749134f
|
|
| MD5 |
7f2f1098ec7ba1a86173b405f44bf2b5
|
|
| BLAKE2b-256 |
72d6ee5e53309c68316f0a08b8b183b55cf9631d0d062a35e0be5b5f01f5322a
|
File details
Details for the file llama_index_readers_agent_search-0.5.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_agent_search-0.5.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e614fce8e330084cd80d5464464de55d26891087f1f7958c2da4b15731940cb
|
|
| MD5 |
43515c43d154e50f0dd327b2a87418a9
|
|
| BLAKE2b-256 |
0cd865c58da739e908734f5835ad9b515bd9979f02aa705ffc3fefcd8a3e7d63
|