GenAIWiki

Playbooks

Tutorials

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

20 min read

Sandboxing Tools with Least Privilege

Implementing sandboxing techniques to limit tool access and enhance security. Prerequisites include familiarity with security protocols and system architecture.

Updated 3 months ago
sandboxingsecurityleast privilege

15 min read

Human-in-the-Loop for High-Stakes Actions

Integrating human oversight in automated systems to ensure accuracy and accountability in critical scenarios. Prerequisites include understanding of automation frameworks and risk management principles.

Updated 3 months ago
human-in-the-loopautomationrisk management

20 min read

Graph RAG for Entity-Heavy Domains

Explore the use of Graph Retrieval-Augmented Generation (RAG) for domains with complex entities, requiring knowledge of graph databases and RAG techniques.

Updated 3 months ago
RAGgraph databasesentity recognition

10 min read

Hybrid Search: BM25 + Dense Re-Ranking

This tutorial explores the integration of BM25 and dense re-ranking techniques to enhance search accuracy. Prerequisites include familiarity with information retrieval concepts and basic machine learning.

Updated 3 months ago
searchBM25dense re-ranking

6 min read

PII Handling in Retrieval Pipelines

Effective handling of Personally Identifiable Information (PII) is essential in retrieval systems to ensure compliance and user trust. Prerequisites include knowledge of data privacy regulations and retrieval system architecture.

Updated 3 months ago
data privacyretrieval systemsPII compliance

6 min read

Cost Controls: Batching vs Streaming Tokens

Understanding the trade-offs between batching and streaming token processing can optimize costs in NLP applications. Prerequisites include familiarity with tokenization and processing pipelines.

Updated 3 months ago
cost optimizationNLPtoken processing

18 min read

Golden-Set Design for RAG Faithfulness

Understand how to design a golden set for evaluating the faithfulness of Retrieval-Augmented Generation (RAG) models. Prerequisites include familiarity with RAG systems and evaluation metrics.

Updated 3 months ago
RAGevaluationbenchmarking

15 min read

Embedding Drift Monitoring in Production

Learn how to implement embedding drift monitoring in production systems to ensure model reliability. Prerequisites include familiarity with machine learning models and data pipelines.

Updated 3 months ago
embeddingmonitoringproduction

11 min read

Shadow Traffic for Safe Model Rollouts

Learn how to implement shadow traffic techniques for safely rolling out new models without impacting user experience.

Updated 3 months ago
model rolloutshadow trafficsafety

14 min read

Reducing Hallucinations with Citation Constraints

This tutorial discusses strategies to minimize hallucinations in AI outputs by implementing citation constraints.

Updated 3 months ago
AIhallucinationscitations

12 min read

Structured Outputs vs JSON Mode Tradeoffs

Explore the trade-offs between using structured outputs and JSON mode in APIs, focusing on performance and usability.

Updated 3 months ago
APIperformancedata formats

15 min read

Evaluating Tool-Calling Reliability Under Load

This tutorial provides a framework for assessing the reliability of tool calls in high-load scenarios, ensuring system robustness.

Updated 3 months ago
load testingreliabilityperformance

10 min read

Latency Budgets for Streaming Chat UX

Learn how to define and manage latency budgets to enhance user experience in streaming chat applications, ensuring responsiveness and engagement.

Updated 3 months ago
latencyUXchat

25 min read

Cross-Encoder Re-Rankers at Scale

Understand how to implement cross-encoder re-rankers for large-scale information retrieval systems. Prerequisites include knowledge of ranking algorithms and machine learning.

Updated 3 months ago
re-rankingcross-encoderinformation retrieval

20 min read

Quantization Impact on Retrieval Quality

Explore the effects of quantization on the quality of information retrieval systems. Prerequisites include familiarity with machine learning models and retrieval systems.

Updated 3 months ago
quantizationinformation retrievalmodel optimization

15 min read

Synthetic Data for Classifier Fine-Tunes

Learn how to generate synthetic data to improve classifier performance, especially in scenarios with limited labeled data. Prerequisites include basic understanding of machine learning and data generation techniques.

Updated 3 months ago
synthetic-datamachine-learningclassifier-fine-tuning

16 min read

Chunking Strategies for Legal/Medical PDFs

Learn effective chunking strategies for processing legal and medical PDFs to enhance information retrieval. Prerequisites include familiarity with PDF processing and natural language processing concepts.

Updated 3 months ago
PDF processingchunkingNLP

18 min read

Backfill Strategies After Schema Changes

Understand effective backfill strategies to manage data consistency after schema changes. Prerequisites include familiarity with database schema design and data migration techniques.

Updated 3 months ago
schema changesdata consistencybackfill

20 min read

Metadata Filters and ACL-aware Retrieval

Explore how to implement metadata filters and Access Control List (ACL)-aware retrieval in your applications. Prerequisites include knowledge of metadata management and ACL concepts.

Updated 3 months ago
metadataACLdata retrieval

15 min read

Cold-start Embeddings for New Tenants

Learn how to implement cold-start embeddings to improve the onboarding experience for new tenants in multi-tenant applications. Prerequisites include basic understanding of embeddings and tenant management.

Updated 3 months ago
embeddingsmulti-tenantpersonalization

15 min read

Understanding Observability with LLM Tool Spans

Learn how to implement observability in your LLM applications by utilizing traces and tool spans for better monitoring and debugging.

Updated 3 months ago
observabilityLLMtraces

10 min read

Understanding Agent Memory: Scratchpad vs Vector Store

Explore the differences between scratchpad and vector store memory in AI agents, and learn how to choose the right approach for your applications.

Updated 3 months ago
AIMemoryScratchpad

10 min read

Leveraging RAG Features for Effective Project Communication

This tutorial explores how to utilize RAG (Red, Amber, Green) features to enhance communication in project management. By implementing RAG statuses, teams can provide clear updates on project health and progress, fostering better stakeholder engagement.

Updated 3 months ago
RAGProject ManagementCommunication

10 min read

Leveraging RAG Features for Project Prioritization

This tutorial outlines how to effectively use RAG status indicators for prioritizing projects. By categorizing projects based on their risk levels, teams can strategically allocate resources and focus efforts.

Updated 3 months ago
RAGProject ManagementPrioritization

Publish a tutorial