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/
Metadata
Release files for llama-index-retrievers-you 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llama_index_retrievers_you-1.2.0.tar.gz | 5.4 kB | Without provenance | Details for llama_index_retrievers_you-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llama_index_retrievers_you-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for llama_index_retrievers_you-1.2.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / llama_index_retrievers_you-1.2.0.tar.gz
| Download URL | llama_index_retrievers_you-1.2.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bbe4dfb2c77add8c0c15e1bede1c39601bd301567209eba67036fe8046ee085f
|
|
BLAKE2b-256 checksum How to use checksums |
ef838a0f30b2e34e501951041f63d5757316222e1fa7394cb121d66973c9f534
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / llama_index_retrievers_you-1.2.0-py3-none-any.whl
| Download URL | llama_index_retrievers_you-1.2.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2d2b10dd114d39a60b660edc5f76f7df46c29865cd7d67fdba5eba2e30d5dde
|
|
BLAKE2b-256 checksum How to use checksums |
a7d5d5df3f7c5108d1f65431a7fef73f0c39c555fd24a0bb72fecbf339b6e185
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for llama-index-retrievers-you 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.