Skip to main content

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/

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.2.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.2.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_retrievers_you-1.2.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.2.0.tar.gz
Algorithm Hash digest
SHA256 bbe4dfb2c77add8c0c15e1bede1c39601bd301567209eba67036fe8046ee085f
MD5 1238a47c7bbd9f0bcb2a2838aa639f72
BLAKE2b-256 ef838a0f30b2e34e501951041f63d5757316222e1fa7394cb121d66973c9f534

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_retrievers_you-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2d2b10dd114d39a60b660edc5f76f7df46c29865cd7d67fdba5eba2e30d5dde
MD5 47ba4bfdd3df457c517e9fe5067568d6
BLAKE2b-256 a7d5d5df3f7c5108d1f65431a7fef73f0c39c555fd24a0bb72fecbf339b6e185

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 files

1.1.0

2 files

1.0.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page