Spaces:
Sleeping
A newer version of the Gradio SDK is available:
6.2.0
ConversAI Documentation Index
Complete guide to all available documentation for ConversAI.
π Documentation Overview
ConversAI comes with comprehensive documentation covering everything from quick setup to advanced usage. Choose the document that best fits your needs.
π― Quick Navigation
π Recommended Setup (Nov 2025)
OPENAI_SETUP.md β RECOMMENDED - 5-minute OpenAI setup (best reliability)
π Important Update (Nov 2025)
MIGRATION_NOTICE.md - HuggingFace API migration info (use OpenAI instead)
New Users - Start Here!
- USER_GUIDE.md - Complete user guide
- OPENAI_SETUP.md - Quick OpenAI setup (recommended)
- QUICK_START_HF_SPACES.md - HF Spaces deployment (free but issues)
- README.md - Project overview and quick reference
Having Issues?
- TROUBLESHOOTING.md - Solutions to common problems
- MIGRATION_NOTICE.md - Fix 404 errors (HuggingFace API update)
- Run
python check_env.py- Diagnose configuration issues
Developers & Advanced Users
- DEPLOYMENT.md - Detailed deployment instructions
- USAGE_GUIDE.md - Technical usage documentation
π Document Descriptions
MIGRATION_NOTICE.md - HuggingFace API Update
π€ Audience: All HuggingFace users (CRITICAL if you see 404 errors) π Length: Quick reference (~1,500 words) β±οΈ Read Time: 5 minutes
What's Inside:
- β Explanation of HuggingFace API endpoint change
- β How to verify you're using the new endpoint
- β Update instructions if needed
- β Troubleshooting 404 errors
- β FAQ about the migration
Best For:
- Fixing 404 errors with HuggingFace
- Understanding the API migration
- Verifying your deployment is updated
- Users who deployed before November 2025
CHANGELOG.md - Version History
π€ Audience: All users, especially those tracking changes π Length: Growing document β±οΈ Read Time: 5 minutes
What's Inside:
- β All version changes and updates
- β Migration notes between versions
- β Bug fixes and improvements
- β Future roadmap
Best For:
- Understanding what's changed
- Migration between versions
- Tracking new features
- Planning upgrades
USER_GUIDE.md - Complete User Guide
π€ Audience: All users (non-technical friendly) π Length: Comprehensive (~8,000 words) β±οΈ Read Time: 30-40 minutes (or use as reference)
What's Inside:
- β What ConversAI does and why it's production-grade
- β Step-by-step guides for all three features
- β Complete workflow examples
- β Best practices and tips
- β Use case library with real scenarios
- β Privacy and security information
- β Success stories and metrics
- β Quality checklists
- β When to use vs. traditional methods
Best For:
- First-time users learning the platform
- Understanding production-grade features
- Learning best practices
- Seeing real-world examples
- Understanding capabilities and limitations
QUICK_START_HF_SPACES.md - Fast Deployment
π€ Audience: Anyone deploying to HuggingFace Spaces π Length: Quick reference (~2,000 words) β±οΈ Read Time: 5-10 minutes
What's Inside:
- β 5-minute deployment steps
- β Zero-configuration setup
- β Troubleshooting common issues
- β Performance tips
- β Testing instructions
Best For:
- Getting started quickly
- Deploying to HuggingFace Spaces
- Zero-config setup
- Quick reference during deployment
TROUBLESHOOTING.md - Problem Solving
π€ Audience: Users experiencing issues π Length: Comprehensive reference (~3,000 words) β±οΈ Read Time: 10-15 minutes (or search for your issue)
What's Inside:
- β Common errors and solutions
- β Configuration problems
- β Performance issues
- β Debugging steps
- β Emergency fixes
- β Environment diagnostics
Best For:
- Fixing "LLM backend not configured" errors
- Solving slow performance
- Debugging startup issues
- Understanding error messages
- Getting unstuck quickly
README.md - Project Overview
π€ Audience: All users, especially new visitors π Length: Quick overview (~1,500 words) β±οΈ Read Time: 5 minutes
What's Inside:
- β Project description
- β Key features overview
- β Quick start instructions
- β Configuration basics
- β Architecture overview
- β Installation steps
Best For:
- First impression of the project
- Understanding what ConversAI does
- Quick setup reference
- GitHub/HuggingFace Space homepage
DEPLOYMENT.md - Detailed Deployment
π€ Audience: Developers, DevOps, advanced users π Length: Comprehensive (~3,500 words) β±οΈ Read Time: 15-20 minutes
What's Inside:
- β HuggingFace Spaces deployment
- β Local development setup
- β Docker deployment
- β Provider configuration details
- β Monitoring and maintenance
- β Scaling considerations
- β Security best practices
Best For:
- Production deployments
- Self-hosting
- Docker containerization
- Scaling for heavy usage
- Enterprise deployments
USAGE_GUIDE.md - Technical Usage
π€ Audience: Technical users, researchers π Length: Detailed reference (~4,000 words) β±οΈ Read Time: 20 minutes
What's Inside:
- β Detailed feature workflows
- β File format specifications
- β JSON examples
- β API usage patterns
- β Command-line tips
- β Advanced configurations
Best For:
- Technical implementation details
- Understanding file formats
- Programmatic usage
- Advanced configurations
- Integration with other tools
check_env.py - Environment Checker
π€ Audience: All users (diagnostic tool) π Type: Executable Python script β±οΈ Run Time: 5 seconds
What It Does:
- β Checks for API keys and tokens
- β Validates Python dependencies
- β Shows which LLM provider will be used
- β Diagnoses configuration issues
- β Provides fix suggestions
How to Use:
python check_env.py
Best For:
- Diagnosing "backend not configured" errors
- Verifying setup before deployment
- Troubleshooting credential issues
- Understanding environment state
test_hf_backend.py - Connection Tester
π€ Audience: Developers, troubleshooters π Type: Executable Python script β±οΈ Run Time: 30-60 seconds
What It Does:
- β Tests HuggingFace Inference API connection
- β Validates token functionality
- β Tests survey generation
- β Shows detailed error messages
How to Use:
python test_hf_backend.py
Best For:
- Testing HuggingFace connectivity
- Validating API tokens
- Debugging generation issues
- Verifying setup works end-to-end
πΊοΈ Documentation Roadmap by User Journey
Journey 1: First-Time User on HuggingFace Spaces
1. README.md (2 min)
β "What is this?"
2. QUICK_START_HF_SPACES.md (5 min)
β "How do I deploy?"
3. USER_GUIDE.md - "How to Use" section (10 min)
β "How do I use it?"
4. Try the app!
β If issues arise...
5. TROUBLESHOOTING.md (as needed)
Total Time to Success: 20-30 minutes
Journey 2: Self-Hosting Developer
1. README.md (5 min)
β "What is this?"
2. DEPLOYMENT.md - Local Setup (10 min)
β "How do I install?"
3. Run: python check_env.py (1 min)
β "Is it configured?"
4. USAGE_GUIDE.md (15 min)
β "How do I use it?"
5. USER_GUIDE.md - Best Practices (skim)
β If issues arise...
6. TROUBLESHOOTING.md (as needed)
Total Time to Success: 30-45 minutes
Journey 3: Researcher/End User
1. USER_GUIDE.md - "What ConversAI Does" (5 min)
β "Can this help my research?"
2. USER_GUIDE.md - "How to Use" for your feature (10 min)
β "How do I do X?"
3. USER_GUIDE.md - Workflow Examples (10 min)
β "Show me a real example"
4. Try the app with examples
β Regular usage...
5. USER_GUIDE.md - Tips for Power Users (reference)
Total Time to Productivity: 30 minutes
Journey 4: Enterprise Deployment
1. README.md (5 min)
β "Is this production-ready?"
2. USER_GUIDE.md - Production-Grade section (10 min)
β "What makes it production-grade?"
3. DEPLOYMENT.md - Complete guide (30 min)
β "How do we deploy?"
4. USER_GUIDE.md - Privacy & Security (5 min)
β "Is it secure for our data?"
5. DEPLOYMENT.md - Scaling & Monitoring (10 min)
β "How do we operate it?"
6. Set up with enterprise LLM provider
Total Time to Production: 1-2 hours of reading, plus setup time
π Documentation by Topic
Setup & Installation
- Quick Setup: QUICK_START_HF_SPACES.md
- Detailed Setup: DEPLOYMENT.md
- Troubleshooting: TROUBLESHOOTING.md
- Environment Check: check_env.py
Using ConversAI
- Complete Guide: USER_GUIDE.md
- Technical Details: USAGE_GUIDE.md
- Quick Reference: README.md
Problem Solving
- Common Issues: TROUBLESHOOTING.md
- Environment Issues: check_env.py
- Connection Issues: test_hf_backend.py
Advanced Topics
- Production Deployment: DEPLOYMENT.md
- Scaling: DEPLOYMENT.md - Scaling section
- Security: USER_GUIDE.md - Privacy section
- API Integration: USAGE_GUIDE.md
π Finding What You Need
By Question
"How do I deploy this?" β QUICK_START_HF_SPACES.md or DEPLOYMENT.md
"What can this do?" β README.md or USER_GUIDE.md - What ConversAI Does
"How do I use feature X?" β USER_GUIDE.md - Feature Guide: [Feature Name]
"Why isn't it working?" β TROUBLESHOOTING.md or run check_env.py
"Is this production-ready?" β USER_GUIDE.md - Production-Grade section
"How do I translate surveys?" β USER_GUIDE.md - Feature Guide: Survey Translation
"What are best practices?" β USER_GUIDE.md - Tips sections
"How much does it cost?" β USER_GUIDE.md - Optimizing for Cost
"Is my data safe?" β USER_GUIDE.md - Privacy & Data Security
"Can I use this for [use case]?" β USER_GUIDE.md - Use Case Library
π‘ Documentation Tips
For Readers
- Don't read everything - Use the index to find what you need
- Start with USER_GUIDE.md if unsure where to begin
- Use search (Ctrl+F) within documents
- Check examples - Most docs include real examples
- Run diagnostics first - check_env.py saves time
For Contributors
- Keep docs in sync - Update all relevant docs when making changes
- Include examples - Show, don't just tell
- Link between docs - Help readers navigate
- Test instructions - Verify steps actually work
- Update this index - When adding new documentation
π Documentation Checklist
When starting with ConversAI, ensure you've read:
Minimum (Quick Start):
- README.md - Know what it does
- QUICK_START_HF_SPACES.md - Deploy it
- USER_GUIDE.md - "How to Use" sections for features you need
Recommended (Full Setup):
- USER_GUIDE.md - Complete guide
- TROUBLESHOOTING.md - Skim common issues
- Run check_env.py - Verify setup
Advanced (Production):
- DEPLOYMENT.md - Full deployment guide
- USER_GUIDE.md - Privacy & Production sections
- USAGE_GUIDE.md - Technical details
π Documentation Updates
Last Updated: 2025 Version: 1.0
Recent Changes:
- Added comprehensive USER_GUIDE.md
- Created this documentation index
- Enhanced troubleshooting guide
- Added diagnostic scripts
Upcoming:
- Video tutorials
- API documentation
- Integration guides
- Case study library
π Still Need Help?
After reading the relevant documentation:
- Check logs - Look for error messages
- Run diagnostics -
python check_env.py - Search docs - Use Ctrl+F in documents
- Check issues - GitHub issues for similar problems
- Ask for help - Provide diagnostic output and what you tried
Happy researching! π¬
Choose your documentation path above and get started with ConversAI.