Skip to main content

llama-index retrievers you integration

Project description

LlamaIndex Retrievers Integration: You Retriever

Retriever for You.com's Search API, providing unified web and news search results.

Installation

pip install llama-index-retrievers-you

Usage

from llama_index.retrievers.you import YouRetriever

# Initialize with API key
retriever = YouRetriever(api_key="your-api-key")

# Or set YDC_API_KEY environment variable
# retriever = YouRetriever()

# Retrieve search results synchronously
results = retriever.retrieve("your search query")

# Retrieve search results asynchronously
results = await retriever.aretrieve("your search query")

Features

  • Unified web and news search
  • Customizable search parameters (country, language, freshness, etc.)
  • Optional livecrawl for full-page content in html or markdown format
  • Seamless integration with LlamaIndex query engines and agents

API Reference

See the You.com API documentation for details on available parameters.

Development

Setup

# Install package with dev dependencies
pip install -e ".[dev]"

# Or using uv
uv pip install -e ".[dev]"

Running Tests

pytest tests/

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_retrievers_you-1.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

llama_index_retrievers_you-1.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_retrievers_you-1.1.0.tar.gz.

File metadata

  • Download URL: llama_index_retrievers_you-1.1.0.tar.gz
  • Upload date:
  • Size: 5.4 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

Hashes for llama_index_retrievers_you-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0be583b0bf289b71ef3a5ee31723ef280c94825ef4893924f589690cc25cdbcb
MD5 5e852f470e723eda3d54b60063603d3a
BLAKE2b-256 6fce8811cf545137742b13cf7095d2af002d929d9d04233d318f58d7d141271f

See more details on using hashes here.

File details

Details for the file llama_index_retrievers_you-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_retrievers_you-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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

Hashes for llama_index_retrievers_you-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b7b41a767ad369aee0e1e6f22dd630da680e21acbdfa1cf396c76c1b7ea4214
MD5 ba127b48ef31f616cb803d6e522cccca
BLAKE2b-256 e32b58377d5d919fe82f5d06db6876cc7e559798e464d15aba5b7eee58dacc3b

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