1const ragkit = new RagkitClient({
2 token: process.env.RAGKIT_API_KEY,
3});
4
5const chunks = await ragkit.search({
6 knowledeBaseId: "kb_1234",
7 prompt: "Do plants have feelings?",
8 features: {
9 reranking: "document-perplexity",
10 hyde: true,
11 },
12});
Works with your favorite models & frameworks
© 2024 Ragkit, Inc.