Skip to main content

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.

Metadata

Release files for fetchium-langchain 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fetchium-langchain 1.0.0
File Size Uploaded
fetchium_langchain-1.0.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fetchium-langchain 1.0.0
File Interpreter ABI Platform
fetchium_langchain-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / fetchium_langchain-1.0.0.tar.gz

Download URL fetchium_langchain-1.0.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
47f7c76669e01deb0f7fbc67a018ec8898c86013bed7719d9faba0c1c154a5ec
BLAKE2b-256 checksum
How to use checksums
1c6f7d0e9728c7b6e404fafb7ec513ba4e8c93f8dda2d40b80cd7b96a17545f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / fetchium_langchain-1.0.0-py3-none-any.whl

Download URL fetchium_langchain-1.0.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b08d97b2059b7c0a2afceaffaedbd2aa7862c3a18381fddcb3d8d74f73e21b4e
BLAKE2b-256 checksum
How to use checksums
0ea78c8a3cddd614e11a4b1319d0e94f588c4f35af9f6ef097372d3eb260fe69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release 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