Skip to Content
Ragify.js 0.1.1 is released 🎉 | 🚀 Manjot is available for hire or consultation! Connect on LinkedIn →
Introduction

Ragify.js

A powerful Retrieval-Augmented Generation (RAG) library for JavaScript/TypeScript.

Demo

Watch the Q&A demo in action:

Features

  • 🚀 Easy to Use: Simple API for document ingestion and querying
  • 🔍 Smart Chunking: Intelligent text splitting with context preservation
  • 🤖 Multiple Embedding Providers: Support for OpenAI and more
  • đź’ľ Vector Store Integration: Built-in support for Qdrant
  • 📦 TypeScript Support: Full type safety and autocompletion
  • 🛠️ CLI Tool: Command-line interface for quick operations

Quick Start

# Install Ragify.js yarn add ragify-js # Initialize with OpenAI embeddings const ragify = new Ragify({ embeddingProvider: createEmbeddingProvider("openai", "your-api-key"), collectionName: "my-documents" }); # Ingest documents await ragify.ingest({ text: "Your document text here...", metadata: { source: "example" } }); # Query documents const results = await ragify.query("Your query here");

Documentation

Why Ragify.js?

Ragify.js is designed to make it easy to build RAG applications in JavaScript/TypeScript. It provides:

  • Simplicity: Clean, intuitive API that just works
  • Flexibility: Customizable components and configurations
  • Performance: Optimized for speed and efficiency
  • Reliability: Production-ready with comprehensive testing
  • Community: Active development and support

Getting Help

License

MIT © Manjot Singh 

Last updated on