Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.05 KB

File metadata and controls

42 lines (30 loc) · 1.05 KB
title Sourcey integrations
description Retrieve from published Sourcey docs sites using LangChain Python.

Sourcey builds static docs sites.

Use langchain-sourcey to retrieve from a published Sourcey docs site. It reads search-index.json, uses llms-full.txt when present, and returns canonical page URLs for citation.

Installation and setup

Install langchain-sourcey:

```bash pip pip install -qU langchain-sourcey ```
uv add langchain-sourcey

No API key is required.

Point the retriever at the root of a published Sourcey docs build. It reads search-index.json for candidate pages and llms-full.txt for full-page content when that file is present.

Retriever

You can use SourceyRetriever in a standard retrieval pipeline.

from langchain_sourcey import SourceyRetriever

See the usage example or the Sourcey guide.