| title | Sourcey integrations |
|---|---|
| description | Build Ask AI over Sourcey docs using LangChain JavaScript. |
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.
Install langchain-sourcey:
yarn add langchain-sourcey @langchain/corepnpm add langchain-sourcey @langchain/coreNo 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.
You can use SourceyRetriever in a standard retrieval pipeline.
import { SourceyRetriever } from "langchain-sourcey";See the Sourcey guide: Using Sourcey with LangChain.