GenAIWiki

Playbooks

Tutorials

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

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 3 months ago
Graph RAGentity-heavylegal

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 3 months ago
Pgvectorindex tuningHNSW

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 3 months ago
embeddingsSaaScold-start

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 3 months ago
hybrid searchBM25dense re-ranking

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 3 months ago
synthetic datahealthcareclassifier

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 3 months ago
metadataACLfinancial services

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 3 months ago
quantizationmedicalretrieval

15 min read

Chunking Strategies for Legal PDFs: Improving Document Retrieval

This tutorial focuses on optimizing chunking strategies for legal documents to enhance retrieval accuracy. Prerequisites include familiarity with document processing and retrieval systems.

Updated 3 months ago
chunkinglegalretrieval

15 min read

Ensuring PII Handling in RAG Pipelines for Healthcare Applications

This tutorial outlines best practices for handling Personally Identifiable Information (PII) in retrieval-augmented generation (RAG) pipelines within healthcare settings. It emphasizes the importance of compliance and security measures. Prerequisites include knowledge of healthcare data regulations and RAG systems.

Updated 3 months ago
RAGhealthcarePII

12 min read

Implementing Cost Controls in RAG: Batching vs Streaming Tokens for E-commerce

This tutorial provides a comprehensive guide on implementing cost controls in retrieval-augmented generation (RAG) systems, focusing on the balance between batching and streaming tokens in e-commerce applications. It covers the implications of each approach on performance and cost. Prerequisites include familiarity with RAG systems and token management.

Updated 3 months ago
RAGe-commercecost control

10 min read

Structured Outputs vs JSON Mode Tradeoffs in Financial Services

This tutorial explores the trade-offs between structured outputs and JSON mode in retrieval-augmented generation (RAG) systems specifically for financial services applications. It highlights how structured outputs can improve data integrity and ease of processing but may limit flexibility compared to JSON mode. Prerequisites include a basic understanding of RAG systems and their applications in finance.

Updated 3 months ago
RAGfinancial servicesdata formats

10 min read

Creating Runbooks When Quality Regresses Overnight

This tutorial provides a structured approach to creating effective runbooks for addressing quality regressions in machine learning models. Prerequisites include familiarity with ML deployment and monitoring processes.

Updated 3 months ago
runbooksquality regressionmachine learning

14 min read

Golden-Set Design for RAG Faithfulness in Healthcare Applications

This tutorial focuses on designing golden sets for retrieval-augmented generation (RAG) systems in healthcare, ensuring the generated responses are faithful and reliable. Prerequisites include understanding RAG systems and familiarity with healthcare data.

Updated 3 months ago
golden setRAGhealthcare applications

18 min read

Reducing Hallucinations with Citation Constraints in Academic Research Models

This tutorial outlines methods to reduce hallucinations in academic research models by implementing citation constraints. It targets researchers and developers working on language models for academic purposes. Prerequisites include familiarity with natural language processing and model training.

Updated 3 months ago
hallucinationscitation constraintsacademic research

12 min read

Implementing SLI/SLO for Generative Endpoints

This tutorial outlines how to define and implement Service Level Indicators (SLIs) and Service Level Objectives (SLOs) for generative endpoints, ensuring high availability and performance. Prerequisites include understanding of SLIs, SLOs, and basic API concepts.

Updated 3 months ago
SLISLOAPI

15 min read

Embedding Drift Monitoring in Production for E-commerce

This tutorial covers how to implement embedding drift monitoring in production systems specifically for e-commerce applications. It focuses on detecting shifts in user behavior and product interactions that can affect recommendation systems. Prerequisites include familiarity with machine learning models and data pipelines.

Updated 3 months ago
embedding drifte-commercemonitoring

10 min read

Understanding Offline vs Online Evaluation Frequency

This tutorial explores the trade-offs between offline and online evaluation methods for machine learning models, focusing on their impact on performance metrics and deployment strategies. Prerequisites include familiarity with basic ML concepts and evaluation metrics.

Updated 3 months ago
evaluationmachine learningoffline

13 min read

Embedding Drift Monitoring in Production for Healthcare Applications

This tutorial covers the implementation of embedding drift monitoring in production systems for healthcare applications, ensuring model accuracy over time. Prerequisites include knowledge of machine learning models and monitoring techniques.

Updated 3 months ago
embedding driftmonitoringhealthcare

14 min read

Implementing Shadow Traffic for Safe Model Rollouts in E-commerce

This tutorial explains how to implement shadow traffic to test new models in an e-commerce environment without affecting live traffic. Prerequisites include knowledge of machine learning deployment and monitoring practices.

Updated 3 months ago
shadow trafficmodel rolloute-commerce

15 min read

Implementing PII Handling in Retrieval Pipelines for Financial Services

This tutorial guides you through implementing PII handling in retrieval pipelines specifically tailored for financial services, ensuring compliance with regulations like GDPR and CCPA. Prerequisites include familiarity with data privacy laws and experience in building retrieval systems.

Updated 3 months ago
PIIretrievalfinancial services

14 min read

Structured Outputs vs JSON Mode Tradeoffs in E-commerce

This tutorial examines the trade-offs between structured outputs and JSON mode in e-commerce applications. Prerequisites include familiarity with data formats and experience in e-commerce platforms.

Updated 3 months ago
E-commerceData FormatsStructured Outputs

16 min read

Golden-Set Design for RAG Faithfulness in Financial Services

This tutorial discusses the design of golden sets to ensure the faithfulness of retrieval-augmented generation (RAG) systems in financial services. Prerequisites include experience with RAG systems and access to financial datasets.

Updated 3 months ago
Financial ServicesRAGGolden Set

15 min read

Reducing Hallucinations with Citation Constraints in Academic Research

This tutorial explores how to effectively implement citation constraints to minimize hallucinations in academic research models. Prerequisites include familiarity with natural language processing (NLP) and access to a research dataset.

Updated 3 months ago
NLPResearchHallucinations

22 min read

Embedding Drift Monitoring in Production for Financial Services

This tutorial focuses on techniques for monitoring embedding drift in production environments specifically tailored for financial services. Prerequisites include understanding of machine learning embeddings and production systems.

Updated 3 months ago
embedding driftfinancial servicesmonitoring

Publish a tutorial