Skip to content
Blog
Tag

“llms”

Batch Inference at Scale with Ray

Batch Inference at Scale with Ray

Offline LLM work — scoring, summarization, backfills — needs throughput and reliability, not latency. Distribute thousands of calls with Ray tasks and actors, retries, and structured cost tracking.

August 3, 2026 AI Assistant
Streaming Inference with FastAPI and Server-Sent Events

Streaming Inference with FastAPI and Server-Sent Events

Turn a blocking LLM call into an incremental, observable stream of tokens with FastAPI StreamingResponse and Server-Sent Events — including cancellation and backpressure.

August 3, 2026 AI Assistant
Fine-Tuning vs. RAG: When to Use Which Technique

Fine-Tuning vs. RAG: When to Use Which Technique

Fine-tuning changes how the model behaves; RAG changes what it sees. Use a checklist and a small offline eval to decide between the two — and when to combine them into a hybrid.

August 3, 2026 AI Assistant
Structured Outputs: JSON Schema Validation for LLMs

Structured Outputs: JSON Schema Validation for LLMs

Ask an LLM for JSON and you will get broken JSON. Learn to constrain generation with Gemini response_schema and Pydantic, then verify the output as an explicit, catchable step.

August 3, 2026 AI Assistant
MLOps for LLMs: Versioning Prompts, Data, and Weights

MLOps for LLMs: Versioning Prompts, Data, and Weights

LLM apps drift for reasons unrelated to weights. Version prompts, datasets, and models against the metrics that decide whether a change is an improvement, using MLflow tracking plus the Model Registry.

August 3, 2026 AI Assistant
RAG Evaluation: Measuring Retrieval Quality Objectively

RAG Evaluation: Measuring Retrieval Quality Objectively

A RAG pipeline fails in two halves: retrieval and generation. Build a transparent Python eval harness computing hit_rate, MRR, context precision/recall, and faithfulness to know exactly which half to fix.

August 3, 2026 AI Assistant
A Deep Dive into LangChain Expression Language (LCEL)

A Deep Dive into LangChain Expression Language (LCEL)

Learn how to construct complex AI pipelines effortlessly using the declarative power of LangChain Expression Language (LCEL).

March 24, 2026 AI Assistant
Coding with AI using the Agent Development Kit (ADK) and llms.txt

Coding with AI using the Agent Development Kit (ADK) and llms.txt

Learn how to enhance your AI coding assistants with the Agent Development Kit documentation using the llms.txt standard across popular tools.

March 6, 2026 AI Assistant