ConfluenceLoader.
Built in
π Confluence
You can load all pages from a Confluence space using the
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ConfluenceLoader.
npm install @llm-tools/embedjs-loader-confluence
import { RAGApplicationBuilder } from '@llm-tools/embedjs';
import { OpenAiEmbeddings } from '@llm-tools/embedjs-openai';
import { HNSWDb } from '@llm-tools/embedjs-hnswlib';
import { ConfluenceLoader } from '@llm-tools/embedjs-loader-confluence';
const app = await new RAGApplicationBuilder()
.setModel(SIMPLE_MODELS.OPENAI_GPT4_O)
.setEmbeddingModel(new OpenAiEmbeddings())
.setVectorDatabase(new HNSWDb())
.build();
app.addLoader(new ConfluenceLoader({ spaceNames: ['...', '...'], confluenceEmail: '...', confluenceToken: '...' }))
Was this page helpful?
