Skip to content

neurobrains/klyra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Klyra AI - Skincare Chatbot

Transform your skincare routine with AI-powered dermatology expertise

Python FastAPI Next.js OpenAI License

🌟 Why Klyra AI?

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.

✨ Features

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

πŸš€ Quick Start

Ready to revolutionize skincare advice? Let's get Klyra AI running in minutes!

Prerequisites

Setup

1. Environment Configuration

# Create .env file
echo "OPENAI_API_KEY=your_openai_api_key_here" > .env

2. 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

πŸ’‘ How It Works

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

πŸ§ͺ Test the API

# 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"

πŸ—οΈ Architecture

Klyra-AI/
β”œβ”€β”€ Frontend/          # Next.js UI
β”œβ”€β”€ docs/             # Documentation
β”œβ”€β”€ chroma/           # Vector database
β”œβ”€β”€ main.py           # FastAPI backend
└── requirements.txt  # Dependencies

🎨 Customization

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/

πŸ”§ Troubleshooting

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

πŸ› Found a Bug or Have a Feature Request?

We welcome contributions! If you encounter any issues or have ideas for improvements:

πŸ“š Documentation

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

🌟 Ready to revolutionize skincare advice?

Start building your AI-powered dermatology assistant today!

Klyra AI Chatbot Interface



Star Fork Issues

About

🩡 Klyra AI β€” Your personal AI dermatologist. Analyze skin, get expert skincare advice, and find the perfect products powered by AI.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors