Thank you for your interest in contributing to the Advanced RAG Demo project! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/yourusername/advanced-rag-demo.git - Create a feature branch:
git checkout -b feature/your-feature-name - Install dependencies:
npm install - Run in mock mode for development:
MOCK_MODE=true npm run dev
# No API keys required!
MOCK_MODE=true npm run dev# Requires API keys in .env file
npm run dev- TypeScript with strict mode enabled
- Use async/await over promises
- Add types for all function parameters and returns
- Follow existing code patterns
# Run TypeScript checks
npx tsc --noEmit
# Run tests (when available)
npm test- Ensure your code compiles without errors
- Update the README.md if you've added new features
- Add tests for new functionality
- Ensure all tests pass
- Update documentation as needed
- Submit a pull request with a clear description
- Add support for more vector databases (Pinecone, Weaviate)
- Implement more chunking strategies
- Add support for document formats (DOCX, HTML, Markdown)
- Create Docker deployment
- Add authentication and user management
- Implement caching layer
- Add more LLM providers (Anthropic, Gemini)
- Create CLI tool for batch processing
- Add evaluation metrics and benchmarking
Feel free to open an issue for any questions or suggestions!