Tired of generic skincare advice? Klyra AI brings professional dermatology expertise to your fingertips. Get personalized skincare solutions, analyze your skin conditions through photos, and discover the perfect products for your unique needs - all powered by cutting-edge AI technology.
| Feature | Description |
|---|---|
| π€ AI Dermatologist | Professional skincare expertise powered by GPT-4o |
| πΈ Smart Image Analysis | Upload photos for instant skin condition analysis |
| π¬ Intelligent Conversations | Context-aware responses with follow-up suggestions |
| π§ Knowledge Base | Custom vector store with comprehensive skincare data |
| ποΈ Product Recommendations | Personalized product suggestions with direct links |
Ready to revolutionize skincare advice? Let's get Klyra AI running in minutes!
- Python 3.9+ & Node.js 16+
- OpenAI API Key (Get yours here)
1. Environment Configuration
# Create .env file
echo "OPENAI_API_KEY=your_openai_api_key_here" > .env2. Backend (Python API)
pip install -r requirements.txt
uvicorn main:app --reloadβ API: http://localhost:8000 | Docs: http://localhost:8000/docs
3. Frontend (Next.js)
cd Frontend && npm install && npm run devβ App: http://localhost:3000
| Step | Action | Result |
|---|---|---|
| 1οΈβ£ | Ask Question | Type your skincare concern |
| 2οΈβ£ | Upload Photo | Optional skin condition image |
| 3οΈβ£ | AI Analysis | GPT-4o analyzes text + image |
| 4οΈβ£ | Get Response | Personalized advice + product recommendations |
# Chat with the AI
curl -X POST http://localhost:8000/chat \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "query=Help with acne&userId=test&domain=skincare"Klyra-AI/
βββ Frontend/ # Next.js UI
βββ docs/ # Documentation
βββ chroma/ # Vector database
βββ main.py # FastAPI backend
βββ requirements.txt # Dependencies
| Customization | How To |
|---|---|
| Add Knowledge | Add documents to chroma/ directory |
| Change Domain | Modify prompt template in main.py |
| Update UI | Edit components in Frontend/app/ |
| Issue | Solution |
|---|---|
| API Key Error | Ensure OPENAI_API_KEY is set in .env |
| Port Conflicts | Change ports if 8000/3000 are occupied |
| Dependencies | Run pip install -r requirements.txt |
We welcome contributions! If you encounter any issues or have ideas for improvements:
- π Report Bugs: Create an issue
- β¨ Request Features: Suggest an enhancement
- π Contribute: Read our contributing guide
| Guide | Description |
|---|---|
| Vector Store | Create and use vector databases |
| Image Analysis | Photo analysis techniques |
| Question Suggestions | Follow-up question generation |
| Prompt Engineering | Customize AI prompts |
| Model Configuration | Configure LLM models and settings |
