Bright Steps is an innovative child development tracking system that combines modern AI techniques with expert knowledge to help parents and caregivers track, understand, and support their child's development journey. The system uses Retrieval-Augmented Generation (RAG) to provide personalized, evidence-based answers about child development.
Bright Steps tracks development across key areas defined by leading pediatric organizations:
- Gross Motor: Large muscle movements like crawling, walking, running
- Fine Motor: Small muscle control for tasks like grasping, drawing, using utensils
- Receptive Language: Understanding words and directions
- Expressive Language: Using words, gestures, and facial expressions
- Speech Sounds: Pronunciation and articulation
- Social Interaction: Playing with others, sharing, turn-taking
- Emotional Expression: Showing feelings, self-regulation
- Attachment: Bonding with caregivers and forming relationships
- Problem Solving: Finding solutions, understanding cause and effect
- Memory: Recalling events, learning routines
- Attention: Focusing on tasks, following directions
- Early Learning: Colors, numbers, shapes, letters
- Feeding: Using utensils, drinking from cups
- Dressing: Managing clothes, shoes, buttons
- Toileting: Bathroom independence
- Personal Care: Washing hands, brushing teeth
- 👶 Create and manage child profiles
- 📊 Track age-appropriate milestones
- 🏥 Record medical considerations
- 🎯 Monitor focus areas
- ✅ Age-appropriate milestone checklists
- 📈 Progress tracking over time
- 🎨 Multiple development categories
- 📝 Notes and observations
- 🧠 Intelligent question answering about child development
- 📚 Evidence-based information retrieval
- 🔍 Context-aware responses
- 👤 Profile-aware suggestions
- 💻 Clean, intuitive Streamlit interface
- 📱 Mobile-friendly design
- 🔄 Real-time updates
- 📊 Visual progress indicators
- Python 3.10 or higher
- Virtual environment (recommended)
- OpenAI API key
- Pinecone API key (for vector storage)
- Clone the repository:
git clone [your-repo-url]
cd ragsteps
- Create and activate virtual environment:
# Windows
python -m venv rags
rags\Scripts\activate
# Linux/Mac
python -m venv rags
source rags/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Visit OpenAI API Keys
- Create a new API key
- Add to your
.env
file:
OPENAI_API_KEY=your_openai_api_key_here
Cost Considerations:
- GPT-3.5-turbo: ~$0.002 per query
- Embedding: ~$0.0001 per 1K tokens
- Set monthly limits in OpenAI dashboard
- Create account at Pinecone
- Create a new project
- Create an index:
- Dimensions: 768 (DPR embedding size)
- Metric: Cosine
- Pod Type: p1.x1 (starter)
- Add to your
.env
:
PINECONE_API_KEY=your_pinecone_api_key_here
PINECONE_ENVIRONMENT=your_pinecone_environment
PINECONE_INDEX_NAME=your_index_name
Rate Limits:
- Free tier: 1 request/second
- Starter: 100 requests/second
- Monitor usage in Pinecone dashboard
- Start the Streamlit interface:
streamlit run web/main_streamlit_with_profiles.py
- Open your browser:
- The interface will automatically open at
http://localhost:8501
- Use the sidebar to create a new profile
- Enter child's name and date of birth
- Add any medical considerations
- Specify current focus areas
- Select a profile to load
- View age-appropriate milestones
- Check off completed milestones
- Track progress over time
- Ask questions about child development
- Receive personalized, evidence-based answers
- Get suggestions based on the child's profile
- Frontend: Streamlit
- Embeddings: DPR (facebook/dpr-question_encoder-single-nq-base)
- Vector Store: Pinecone
- LLM: GPT-3.5-turbo
- Profile Storage: Local JSON files
ragsteps/
├── web/ # Web interface
│ └── main_streamlit_with_profiles.py
├── src/
│ ├── models/ # Data models
│ ├── rag/ # RAG implementation
│ └── utils/ # Utilities
├── data/ # Development data
└── user_data/ # User profiles
Bright Steps uses evidence-based developmental guidelines from leading organizations:
- Age-specific milestones from 2 months to 5 years
- Updated guidelines (2022) based on latest research
- CDC Milestone Checklist
- International growth standards
- Evidence-based developmental norms
- WHO Child Growth Standards
- American Academy of Pediatrics guidelines
- Best practices for child development
- AAP Developmental Monitoring
- Zero to Three developmental guidelines
- Child development research publications
- Pediatric specialist recommendations
- All profile data is stored locally
- API keys are secured in .env
- No personal data is sent to external services
- Regular security updates
- Follow installation steps above
- Run with
streamlit run
- Access via localhost
# Build image
docker build -t bright-steps .
# Run container
docker run -p 8501:8501 bright-steps
-
Profile Not Saving
- Check write permissions in user_data directory
- Verify profile format
-
RAG Not Responding
- Verify API keys in .env
- Check internet connection
- Confirm Pinecone index is running
-
Milestone Tracking
- Ensure date of birth is correct
- Check age calculations
We welcome contributions! Please feel free to submit pull requests or open issues for discussion.
This project is licensed under the MIT License - see the LICENSE file for details.