Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_agent_search-0.4.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_readers_agent_search-0.4.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_agent_search-0.4.1.tar.gz
Algorithm Hash digest
SHA256 09dbfed93c4a7496933afc99f79ae33952c4c58814b587b67fe3e3c96fe6cc16
MD5 7713dff137d841dab6842ca0c9d8e0b9
BLAKE2b-256 4645ebc94128c5d0fd2266718b257e74b6d83005ac0055823f4bcc7a45ffb7e4

See more details on using hashes here.

File details

Details for the file llama_index_readers_agent_search-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_agent_search-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de31e2a310b6f31ece8a1ad52ae5d672fefe45a24b0b8fb1305c942c1941b68c
MD5 3f485dab8686c169ac6e87486d47a99a
BLAKE2b-256 38aa05a758784591dd4f12c461bc11fe54ce7dfb4e7d345b13e031b5edfad85f

See more details on using hashes here.

Supported by

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