Knowmore is a clone of Perplexity AI, it has a lot of thing missing features. The goals for this project is to learn django and RAG architecture.
Watch the YouTube demo: https://www.youtube.com/watch?v=_mFrt65fLQA
- Python >= 3.10
- Node.js/Bun
- Docker (optional)
Environment Variables:
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
FIRE_CRAWL_API_TOKEN=
SECRET_KEY=For now it integrates with Anthropic AI. Soon will be adding OpenAI GPT-4 and other LLMs.
Build and run the full application:
make devThis will:
- Build the frontend using
./build_frontend.sh - Build the Docker image
- Run the backend on port 7000
Individual commands:
# Build frontend and backend
make build
# Serve frontend only (for development)
make serve-ui
# Build Docker image only
make backend
# Run backend container only
make run-backendInstall Python packages:
pip install -r requirements.txtInstall frontend dependencies:
cd frontend && bun installRun Python server:
For development (no streaming support):
python manage.py runserverFor proper SSE streaming support (recommended):
python run_asgi.py
# or
daphne -b 127.0.0.1 -p 8000 Knowmore.asgi:applicationBuild Docker image:
docker build . -t knowmoreRun Docker container:
docker run --env-file .env -p 7000:8000 knowmoreAccess the application at: http://localhost:7000
This project is inspired by this company.