-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
This guide will help you set up the RAG Process Visualizer on your local machine.
Before installing, ensure you have the following installed:
- Node.js (version 18.0 or higher)
- npm (version 9.0 or higher) or yarn
- Git (for cloning the repository)
node --version # Should be v18.0.0 or higher
npm --version # Should be 9.0.0 or higher
git --versiongit clone https://github.com/KHemanthRaju/RAG_Visualizer.git
cd RAG_VisualizerUsing npm:
npm installOr using yarn:
yarn installThis will install all required dependencies including:
- Next.js 14
- React 18
- TypeScript
- Tailwind CSS
- Framer Motion
- Lucide React
npm run devOr with yarn:
yarn devNavigate to http://localhost:3000 in your web browser.
To create an optimized production build:
npm run buildTo start the production server:
npm startCurrently, no environment variables are required. The application uses simulated embeddings and generation for demonstration purposes.
For production use with real APIs, you would need to set:
OPENAI_API_KEY=your_key_here
VECTOR_DB_API_KEY=your_key_hereIf port 3000 is already in use, Next.js will automatically try the next available port (3001, 3002, etc.).
If you encounter module not found errors:
rm -rf node_modules package-lock.json
npm installEnsure you have the latest TypeScript version:
npm install -D typescript@latestOnce installed, check out the User Guide to learn how to use the application.