LangChain Retriever adapter for Fetchium — token-efficient AI-native web search
Project description
fetchium-langchain
LangChain retriever adapter for Fetchium.
Install
pip install fetchium-langchain
REST mode:
pip install fetchium-langchain[rest]
Usage
from fetchium_langchain import FetchiumRetriever
retriever = FetchiumRetriever(
rest_base_url="https://api.fetchium.com",
rest_api_key="fetchium_...",
token_budget=2000,
max_sources=5,
)
docs = retriever.invoke("Rust async runtimes")
CLI mode works if fetchium is installed on PATH.
Project details
Release history Release notifications | RSS feed
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 fetchium_langchain-1.0.0.tar.gz.
File metadata
- Download URL: fetchium_langchain-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f7c76669e01deb0f7fbc67a018ec8898c86013bed7719d9faba0c1c154a5ec
|
|
| MD5 |
553c3f8b87e2765f4727f77e810b2c49
|
|
| BLAKE2b-256 |
1c6f7d0e9728c7b6e404fafb7ec513ba4e8c93f8dda2d40b80cd7b96a17545f7
|
File details
Details for the file fetchium_langchain-1.0.0-py3-none-any.whl.
File metadata
- Download URL: fetchium_langchain-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b08d97b2059b7c0a2afceaffaedbd2aa7862c3a18381fddcb3d8d74f73e21b4e
|
|
| MD5 |
8d0717f53119e677bc5e1b2bdc74bab9
|
|
| BLAKE2b-256 |
0ea78c8a3cddd614e11a4b1319d0e94f588c4f35af9f6ef097372d3eb260fe69
|