🎉 Your AI Chatbot is Ready!
🎉 Your AI Chatbot is Ready!
What You Got
I’ve set up a local AI chatbot that runs entirely on your machine using Ollama. It knows everything about you from your resume and can answer questions naturally.
✨ Key Features
- 🏠 100% Local - Runs on your computer, no cloud needed
- 💰 $0 Cost - Completely free, no API charges ever
- 🔒 Private - All conversations stay on your machine
- 🎯 Trained on You - Knows your skills, projects, experience
- ⚡ Fast - 1-2 second response times
- 📱 Mobile Ready - Works on all devices
- 🌓 Theme Aware - Matches your site’s dark/light mode
🚀 Quick Start (3 Commands)
# 1. Install Ollama
brew install ollama
# 2. Run the setup script
./start-chatbot.sh
# 3. Start your website
python3 -m http.server 8000
Then open: http://localhost:8000
📁 Files Created
Core Chatbot Files
chatbot.js- Main chatbot logic with Ollama integrationchatbot.css- Beautiful chat widget stylingModelfile- Your custom AI model with all your resume data
Setup & Testing
start-chatbot.sh- Automated setup script (run this first!)test-chatbot.sh- Verify everything is workingtest-chatbot.html- Standalone test page for the chatbot
Documentation
CHATBOT-README.md- Complete chatbot documentationsetup-local-llm.md- Detailed Ollama setup guideSETUP-SUMMARY.md- This file
Updated Files
index.html- Added chatbot scriptschatbot.js- Configured for Ollama
🎯 What the Chatbot Knows
Your AI assistant has been trained on:
Personal Info
- Name, contact info, location
- GitHub, LinkedIn, website links
Education
- FSU B.S./M.S. Computer Science
- 3.7 GPA, honors, coursework
Current Positions (5)
- Research Assistant (GNN security research)
- DevOps/Data Engineer (competition project)
- Lab Assistant (materials science)
- Emerging Tech Intern (FSU ITS)
- WICS President (100+ members)
Technical Skills
- Languages: C++, Python, JavaScript, Bash, C
- ML/AI: PyTorch, scikit-learn, pandas, NumPy
- Tools: Docker, Git, AWS, Google Cloud
- Spoken: English, Russian, Ukrainian, Italian, Spanish
Projects
- Quantitative Trading Backtester (Sharpe 1.2)
- Monte Carlo Option Pricer (C++, <1% error)
- Coppola Artistica E-commerce Site
- C++ Projects Collection
Experience
- Generative AI Engineer (Reality AI Lab)
- Community involvement (Relay for Life, Mote Marine)
- Certifications (Akuna Capital, IBM Qiskit)
🧪 Testing
Option 1: Test Page
# Start a web server
python3 -m http.server 8000
# Open in browser
open http://localhost:8000/test-chatbot.html
Click the buttons to test different questions!
Option 2: Command Line
# Test the model directly
ollama run darya-assistant
# Try asking:
# "What are Darya's technical skills?"
# "Tell me about her research"
# Type /bye to exit
Option 3: Automated Test
./test-chatbot.sh
💬 Example Questions to Try
Skills & Technical
- “What programming languages does Darya know?”
- “Tell me about Darya’s machine learning experience”
- “What cloud platforms has Darya used?”
- “Does Darya know C++?”
Research & Projects
- “What research is Darya doing?”
- “Tell me about the GNN fingerprinting project”
- “What was the quantitative trading project?”
- “Show me Darya’s C++ projects”
Experience & Education
- “Where does Darya work?”
- “What’s Darya’s GPA?”
- “What leadership roles has Darya held?”
- “Tell me about WICS”
General
- “How can I contact Darya?”
- “Is Darya looking for internships?”
- “What languages does Darya speak?”
- “What are Darya’s interests?”
🎨 Customization
Update Your Information
Edit Modelfile and rebuild:
ollama create darya-assistant -f Modelfile
Change Appearance
Edit chatbot.css to customize:
- Colors and gradients
- Button styles
- Chat bubble design
- Animations
Adjust AI Behavior
In Modelfile, modify:
PARAMETER temperature 0.7 # Creativity (0.0-1.0)
PARAMETER num_ctx 4096 # Context window
PARAMETER top_p 0.9 # Response diversity
Change Position
In chatbot.css:
.chat-widget {
bottom: 2rem; /* or top: 2rem; */
right: 2rem; /* or left: 2rem; */
}
🔧 Troubleshooting
Chatbot Not Appearing
- Check browser console (F12)
- Verify files are loaded
- Check for JavaScript errors
“Ollama not running” Message
# Start Ollama
ollama serve
# Or check if already running
ps aux | grep ollama
Model Not Found
# List models
ollama list
# Create your model
ollama create darya-assistant -f Modelfile
Slow Responses
# Use smaller model
ollama pull llama3.2:3b
# Or reduce tokens in chatbot.js
maxTokens: 300
Connection Issues
# Test Ollama API
curl http://localhost:11434/api/tags
# Enable CORS if needed
OLLAMA_ORIGINS=* ollama serve
📊 Performance
Current Setup (Llama 3.2 3B)
- Model Size: ~2GB
- RAM Needed: 4GB minimum, 8GB recommended
- Response Time: 1-2 seconds
- Quality: Excellent for Q&A
Alternative Models
Faster & Lighter:
ollama pull phi3:3.8b
Better Quality:
ollama pull llama3.1:8b
Best Quality:
ollama pull llama3.1:70b
💰 Cost Analysis
Your Setup (Local)
- Installation: $0
- Running: $0
- Electricity: ~$0.01/hour
- Total: FREE ✅
Alternative (OpenAI)
- GPT-3.5: ~$0.002 per 1K tokens
- GPT-4: ~$0.03 per 1K tokens
- Estimated: $10-50/month
🚀 Next Steps
Immediate
- ✅ Run
./start-chatbot.sh - ✅ Test with
test-chatbot.html - ✅ Try your main website
Optional
- Customize colors in
chatbot.css - Update info in
Modelfile - Try different models
- Add more training examples
- Deploy to production
📚 Documentation
CHATBOT-README.md- Full chatbot guidesetup-local-llm.md- Detailed Ollama setupchatbot-config.md- Configuration options
🎓 How It Works
- Ollama runs a local LLM on your machine
- Modelfile contains your resume data as training
- chatbot.js sends questions to Ollama
- AI model generates natural responses
- chatbot.css makes it look beautiful
🔐 Privacy & Security
✅ All data stays on your machine ✅ No external API calls ✅ No tracking or analytics ✅ Complete control over responses ✅ Works offline
🌐 Deployment Options
Option 1: Local Only (Current)
Perfect for demos and development
Option 2: Deploy to Server
- Get a VPS (DigitalOcean, AWS)
- Install Ollama on server
- Update endpoint in
chatbot.js - Add authentication
Option 3: Hybrid
- Local for development
- OpenAI for production
- Switch
providerin config
📞 Support
Quick Checks
# Is Ollama running?
ollama ps
# List models
ollama list
# Test API
curl http://localhost:11434/api/tags
# Test model
ollama run darya-assistant
Common Issues
- Ollama not running →
ollama serve - Model not found →
./start-chatbot.sh - Slow responses → Use smaller model
- CORS errors →
OLLAMA_ORIGINS=* ollama serve
🎉 You’re All Set!
Your AI chatbot is ready to answer questions about your skills, experience, and projects!
To Start Using:
./start-chatbot.sh
python3 -m http.server 8000
Then open http://localhost:8000 and click the chat icon! 🚀
Questions? Check CHATBOT-README.md for detailed documentation.
Issues? Run ./test-chatbot.sh to diagnose problems.
Want to customize? Edit Modelfile and chatbot.css.