GENAIWIKI

Playbooks

Tutorials

Long-form guides optimized for engineers shipping GenAI features responsibly.

15 min read

Implementing Planner-Executor Loops and Failure Recovery

This tutorial covers the implementation of planner-executor loops in AI systems, focusing on failure recovery strategies. Prerequisites include familiarity with AI workflows and basic programming skills.

Updated today
AIPlanningExecutionFailure Recovery

16 min read

Comparing Offline vs Online Evaluation Frequency for AI Models in Healthcare

This tutorial explores the trade-offs between offline and online evaluation frequencies for AI models used in healthcare applications. Prerequisites include knowledge of AI model evaluation metrics and healthcare domain specifics.

Updated today
evaluationAIhealthcareoffline

14 min read

Enhancing Observability with Traces for LLM and Tool Spans in Data Pipelines

This tutorial focuses on enhancing observability in data pipelines that utilize large language models (LLMs) by implementing tracing for both LLM and tool spans. Prerequisites include familiarity with observability concepts and experience with LLMs.

Updated today
observabilitytracingLLMdata pipelines

18 min read

Implementing Planner-Executor Loops with Failure Recovery in AI Systems

This tutorial explains how to design and implement planner-executor loops in AI systems, including strategies for failure recovery. Prerequisites include knowledge of AI workflows and basic programming skills.

Updated today
AIplanner-executorfailure recoveryworkflow

12 min read

Establishing SLI/SLO for Generative AI Endpoints in Customer Support

This tutorial guides you through setting up Service Level Indicators (SLIs) and Service Level Objectives (SLOs) for generative AI endpoints used in customer support scenarios. Prerequisites include familiarity with service metrics and basic knowledge of AI endpoint operations.

Updated today
AIcustomer supportSLISLO

15 min read

Implementing Prompt Injection Defenses in Multi-Tenant SaaS Applications

This tutorial covers how to implement effective defenses against prompt injection attacks in multi-tenant SaaS applications, focusing on security measures and user isolation techniques. Prerequisites include a basic understanding of multi-tenant architectures and security best practices.

Updated today
securitymulti-tenantprompt injectionSaaS

12 min read

Synthetic Data Generation for Classifier Fine-Tunes in Legal AI Applications

This tutorial provides a comprehensive guide to generating synthetic data for training classifiers in legal AI applications, focusing on improving model performance and reducing bias. Prerequisites include knowledge of machine learning and legal domain concepts.

Updated today
synthetic datalegal AIclassifier trainingbias mitigation

16 min read

Quantization Impact on Retrieval Quality in Financial Services

This tutorial examines the effects of quantization on retrieval quality in financial data systems. Prerequisites include knowledge of machine learning and data retrieval concepts.

Updated today
quantizationretrieval qualityfinancial servicesmachine learning

18 min read

Hybrid Search: BM25 + Dense Re-Ranking for Academic Research

This tutorial explores the integration of BM25 and dense re-ranking for enhancing academic search engines. Familiarity with information retrieval concepts is required.

Updated today
hybrid searchBM25dense re-rankinginformation retrieval

15 min read

Cross-Encoder Re-Rankers at Scale for E-commerce Personalization

This tutorial covers the implementation of cross-encoder re-rankers to improve product recommendations in e-commerce platforms. Prerequisites include familiarity with machine learning concepts and access to a dataset of product interactions.

Updated today
re-rankinge-commercepersonalizationmachine learning

20 min read

Synthetic Data Generation for Classifier Fine-Tunes in Legal AI

This tutorial demonstrates how to generate synthetic data for fine-tuning classifiers in legal AI applications, ensuring compliance and accuracy. Prerequisites include a basic understanding of machine learning and legal terminology.

Updated today
synthetic datalegalclassifierfine-tuning

15 min read

Chunking Strategies for Medical PDFs: Enhancing Patient Data Retrieval

This tutorial explores effective chunking strategies tailored for medical PDFs, enhancing retrieval performance for patient data. Prerequisites include familiarity with PDF structures and basic NLP techniques.

Updated today
chunkingmedicalPDFretrieval

13 min read

Synthetic Data for Classifier Fine-Tunes in Legal AI Applications

This tutorial explores the generation and use of synthetic data to fine-tune classifiers in legal AI applications, addressing challenges like data scarcity. Prerequisites include knowledge of machine learning concepts and experience with data generation techniques.

Updated today
synthetic datalegal AIclassifierdata generation

10 min read

Metadata Filters and ACL-Aware Retrieval in Legal Document Management

This tutorial outlines the implementation of metadata filters and Access Control List (ACL)-aware retrieval systems in legal document management applications. Prerequisites include knowledge of legal data structures and basic programming skills.

Updated today
legalmetadataretrievalACL

12 min read

Quantization Impact on Retrieval Quality in Healthcare Applications

This tutorial investigates the effects of quantization on retrieval quality in healthcare applications, focusing on the trade-offs between model size and accuracy. Prerequisites include a basic understanding of machine learning models and quantization techniques.

Updated today
quantizationhealthcareretrieval qualitymachine learning

16 min read

Backfill Strategies After Schema Changes in Data Warehousing

This tutorial discusses effective backfill strategies to manage data consistency and integrity after schema changes in data warehousing environments. Prerequisites include knowledge of SQL and data warehousing concepts.

Updated today
data warehousingschema changesbackfill strategies

22 min read

Cross-Encoder Re-Rankers at Scale for Content Recommendation

This tutorial focuses on implementing cross-encoder re-rankers for large-scale content recommendation systems, emphasizing their performance and scalability. Prerequisites include experience with machine learning and recommendation systems.

Updated today
cross-encoderre-rankingrecommendation systems

18 min read

Graph RAG for Entity-Heavy Domains: A Practical Guide

This tutorial delves into using Graph RAG (Retrieval-Augmented Generation) techniques for domains rich in entities, such as legal and healthcare sectors. Prerequisites include understanding of RAG and graph database concepts.

Updated today
Graph RAGentity-heavylegalhealthcare

20 min read

Pgvector Index Tuning: HNSW vs IVF for E-commerce Search

This tutorial explores the tuning of Pgvector indexes using HNSW and IVF methods, specifically for optimizing search capabilities in e-commerce platforms. Prerequisites include basic knowledge of PostgreSQL and vector search concepts.

Updated today
Pgvectorindex tuningHNSWIVF

15 min read

Cold-Start Embeddings for New Tenants in SaaS Applications

This tutorial covers strategies for implementing cold-start embeddings for new tenants in SaaS applications, focusing on leveraging existing data and models to generate initial embeddings. Prerequisites include familiarity with machine learning concepts and access to a dataset for training.

Updated today
embeddingsSaaScold-startmachine learning

20 min read

Hybrid Search: BM25 + Dense Re-Ranking for E-commerce

This tutorial covers the implementation of hybrid search combining BM25 and dense re-ranking techniques for e-commerce applications. Prerequisites include knowledge of search algorithms and e-commerce systems.

Updated today
hybrid searchBM25dense re-rankinge-commerce

16 min read

Synthetic Data for Classifier Fine-Tunes in Healthcare Applications

This tutorial explores the use of synthetic data to enhance classifier performance in healthcare applications. Prerequisites include a basic understanding of machine learning and healthcare data.

Updated today
synthetic datahealthcareclassifiermachine learning

14 min read

Metadata Filters and ACL-Aware Retrieval in Financial Services

This tutorial discusses implementing metadata filters and access control lists (ACLs) for secure and efficient data retrieval in financial services. Prerequisites include basic knowledge of data security and retrieval systems.

Updated today
metadataACLfinancial servicesdata security

18 min read

Quantization Impact on Retrieval Quality in Medical Applications

This tutorial examines the effects of quantization on retrieval quality in medical data applications. Prerequisites include knowledge of machine learning and data retrieval systems.

Updated today
quantizationmedicalretrievalmachine learning

Publish a tutorial