Skip to main content

Tutorials

In-depth guides written by Mentai mentors.

Browse learning paths
All categories Development AI and Workflows Cloud and Infrastructure Consumer Electronics SaaS and Tools No-Code and Automation
All ai airtable android appliances architecture asana automation backend backup best-practices celery ci 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
Newest Popular
entai.dev
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 83 views · 28 min read
entai.dev
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 82 views · 32 min read
entai.dev
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 86 views · 30 min read
entai.dev
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 84 views · 28 min read
entai.dev
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 80 views · 25 min read
entai.dev
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 79 views · 25 min read
entai.dev
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 68 views · 18 min read
entai.dev
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 64 views · 30 min read
entai.dev
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 64 views · 35 min read
entai.dev
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 65 views · 20 min read