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

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_retrievers_you-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.0.0.tar.gz
Algorithm Hash digest
SHA256 c3eae4b0ed732107d6462a15200ef397bcc2d72c2b2da28ad150f738ca32ac61
MD5 6dcdce8657790e2f7bb02616384382a3
BLAKE2b-256 927e805aca1977b0b272e17c6739cc26c86a2822dd39d3ea3c4e11aea0a55331

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_retrievers_you-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8ff43f0ec9ece840de826d66d7e157d6c3b806185f204cbb401106cebccc4e1
MD5 00d0aed9b564ff013436ae5281bcb3eb
BLAKE2b-256 b8ad16599a9f86ebdaef320e569a104cf7766ed913a3002bd3076b3d2169ec3f

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