youcom-haystack
Usage
YouComWebSearch runs without any configuration: with no API key available it uses the You.com
keyless free tier (rate limited per IP).
Set the YOUDOTCOM_API_KEY environment variable to use the keyed
You.com Search API with higher limits.
from haystack_integrations.components.websearch.youcom import YouComWebSearch
websearch = YouComWebSearch(top_k=5)
result = websearch.run(query="What is Haystack by deepset?")
result["documents"] # list[Document]
result["links"] # list[str]
To require a key instead of silently degrading to the keyless tier, pass keyless_fallback=False;
the component then raises YouComError when no key resolves.
Contributing
Refer to the general Contribution Guidelines.
The unit tests are fully mocked and need no credentials. The integration tests include one live keyless
search that needs no key; to also run the keyed tests, export the YOUDOTCOM_API_KEY environment variable.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file youcom_haystack-0.0.1.tar.gz.
File metadata
- Download URL: youcom_haystack-0.0.1.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea9fdb2808ed195504bbde6a3e64097129731a02186197eba3882c11b46bc514
|
|
| MD5 |
f2966b0357d58d4900557d2e0bd065a4
|
|
| BLAKE2b-256 |
c7eb9af1ee733b934fb1c4462cc64d9906d3f3ccb180688e8ff0f99512124c9b
|
Provenance
The following attestation bundles were made for youcom_haystack-0.0.1.tar.gz:
Publisher:
CI_pypi_release.yml on deepset-ai/haystack-core-integrations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
youcom_haystack-0.0.1.tar.gz -
Subject digest:
ea9fdb2808ed195504bbde6a3e64097129731a02186197eba3882c11b46bc514 - Sigstore transparency entry: 2514637195
- Sigstore integration time:
-
Permalink:
deepset-ai/haystack-core-integrations@6d447dbbcce10136dab7ad7146d1b4f1b5926e63 -
Branch / Tag:
refs/tags/integrations/youcom-v0.0.1 - Owner: https://github.com/deepset-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI_pypi_release.yml@6d447dbbcce10136dab7ad7146d1b4f1b5926e63 -
Trigger Event:
push
-
Statement type:
File details
Details for the file youcom_haystack-0.0.1-py3-none-any.whl.
File metadata
- Download URL: youcom_haystack-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6519133ba17daf8de701f5150314c5d4f681b7f9f99c087ca2a38be64fc10b94
|
|
| MD5 |
407711922628580e57c6db64fdd1172d
|
|
| BLAKE2b-256 |
8c22c3631d254d13e7208e5f559869be1d39a4940d21cc78398b556404aa952f
|
Provenance
The following attestation bundles were made for youcom_haystack-0.0.1-py3-none-any.whl:
Publisher:
CI_pypi_release.yml on deepset-ai/haystack-core-integrations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
youcom_haystack-0.0.1-py3-none-any.whl -
Subject digest:
6519133ba17daf8de701f5150314c5d4f681b7f9f99c087ca2a38be64fc10b94 - Sigstore transparency entry: 2514637204
- Sigstore integration time:
-
Permalink:
deepset-ai/haystack-core-integrations@6d447dbbcce10136dab7ad7146d1b4f1b5926e63 -
Branch / Tag:
refs/tags/integrations/youcom-v0.0.1 - Owner: https://github.com/deepset-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
CI_pypi_release.yml@6d447dbbcce10136dab7ad7146d1b4f1b5926e63 -
Trigger Event:
push
-
Statement type: