Tutorials
In-depth guides written by Mentai mentors.
Browse by category
Filter by topic
All
ai
airtable
android
appliances
architecture
asana
automation
backend
backup
best-practices
celery
ci
Show all 83 tags Show fewer tags
cloudflare
cms
configuration
cost-management
crm
database
data-management
data-transfer
debugging
deployment
devops
diy
django
dns
docker
email
error-handling
frontend
git
github-actions
google-sheets
home-setup
htmx
internal-tools
linear
linux
llm
logging
macos
make
mobile
models
moderation
monitoring
nas
networking
nginx
no-code
notion
parental-controls
payments
performance
pgvector
postgresql
postmark
privacy
productivity
prompting
python
raspberry-pi
recovery
redis
render
retool
search
sentry
smart-tv
ssl
storage
stripe
testing
tooling
troubleshooting
typeform
ups
validation
version-control
webflow
wi-fi
workflow
zapier
Automating Content Moderation With an AI Classification Step
Build an AI classification pipeline that flags submitted content for human review, reducing moderator workload without removing human oversight.
AI and Workflows
ai
celery
moderation
By
Tai
·
Mentor
112 views
· 28 min read
Building Semantic Search That Understands Intent Not Just Keywords
Combine vector similarity search with keyword filtering to build a search experience that finds relevant results even when exact words do not match.
AI and Workflows
ai
pgvector
search
By
Tai
·
Mentor
109 views
· 32 min read
Evaluating AI Output Quality With a Scoring Pipeline
Build a lightweight evaluation loop that scores AI responses against a golden dataset so you can detect regressions before users notice them.
AI and Workflows
ai
llm
testing
By
Tai
·
Mentor
112 views
· 30 min read
How to Implement a Per-User AI Token Budget to Control Costs
Track monthly token usage per user in your database and enforce soft and hard limits so your AI feature scales without runaway API costs.
AI and Workflows
ai
backend
cost-management
By
Tai
·
Mentor
110 views
· 28 min read
How to Use Function Calling to Make AI Return Structured JSON Reliably
Use the OpenAI or Claude tools parameter to guarantee structured JSON output so you can parse AI responses in code without fragile string matching.
AI and Workflows
ai
backend
llm
By
Tai
·
Mentor
105 views
· 25 min read
How to Handle OpenAI Rate Limits and Timeouts Gracefully in Production
Implement exponential backoff, per-task retry logic, and user-facing error states so your AI features degrade gracefully instead of silently failing.
AI and Workflows
ai
celery
error-handling
By
Tai
·
Mentor
109 views
· 25 min read
Structuring a Reusable Prompt Library in Python
Centralise all AI prompt strings into a single Python module so you can iterate on model behaviour without hunting across your codebase.
AI and Workflows
ai
architecture
python
By
Tai
·
Mentor
84 views
· 18 min read
How to Run AI API Calls Asynchronously With Celery in Django
Offload slow OpenAI or Claude API calls to Celery workers so Django views return immediately and users receive results through HTMX polling.
AI and Workflows
ai
celery
django
By
Tai
·
Mentor
77 views
· 30 min read
Building a RAG Pipeline With pgvector and Django
Set up a retrieval-augmented generation system using PostgreSQL pgvector so your AI assistant answers from your own content instead of hallucinating.
AI and Workflows
ai
django
pgvector
By
Tai
·
Mentor
81 views
· 35 min read
How to Write a System Prompt That Actually Controls AI Behaviour
Learn the structure and principles behind effective system prompts so your AI integration responds consistently and stays within the boundaries you define.
AI and Workflows
ai
llm
prompting
By
Tai
·
Mentor
80 views
· 20 min read