Blog
Thoughts on data engineering, cloud architecture, and technology. 2213 articles and counting.
Showing 24 of 2213 posts — page 30 of 93
Filtered Vector Search in Azure AI Search: Best Practices
Pre-filtering: Filter before vector search Post-filtering: Filter after vector search Azure AI Search uses pre-filtering with automatic optimization.
HNSW Tuning for Azure AI Search: A Practical Guide
HNSW builds a multi layer graph where: Higher layers : Sparse, for fast long range navigation Lower layers : Dense, for precise local search Layer 0 :…
Product Quantization for Extreme-Scale Vector Search
PQ divides each vector into subvectors and quantizes each independently: For even faster search, combine with inverted file index: Dataset Size n subvectors…
Scalar Quantization for Vector Search: A Practical Guide
Scalar quantization maps floating point values to integers by dividing the value range into buckets: Understanding quantization error helps set…
Binary Vectors and Quantization in Azure AI Search
With quantization, this can be reduced to 1-2 GB.
Improved Vector Search in Azure AI Search: Deep Dive
Vector search finds similar items by comparing their mathematical representations (embeddings). The key components: Embeddings : Dense vectors representing…
Azure AI Search Updates: What's New in Summer 2024
Expanded Vector Dimensions Semantic Ranking Improvements Customer-Managed Keys for Vectors
Memory Consolidation for AI Agents: From Short-Term to Long-Term
1. Set appropriate thresholds : Not everything needs to be remembered 2. Consolidate regularly : Don't let short term memory overflow 3. Abstract…
Procedural Memory for AI Agents: Learning How To Do Things
Procedural memory captures: Action sequences : Steps to accomplish tasks Conditions : When procedures apply Parameters : Variables in the process Success…
Semantic Memory for AI Agents: Knowledge Representation
Aspect Semantic Memory Episodic Memory Content Facts, concepts, relationships Events, experiences Context Context free Time and place specific Example…
Episodic Memory for AI Agents: Learning from Experiences
Unlike semantic memory (facts) or procedural memory (how to), episodic memory captures: Events : What happened Context : When and where Outcomes : Results…
Long-Term Agent Memory: Persistent Knowledge Storage
1. Categorize memories : Different types need different handling 2. Extract automatically : Don't rely on explicit save commands 3. Maintain regularly :…
Short-Term Agent Memory: Context Window Management
Sounds like a lot, but it fills up quickly with conversation history, system prompts, tool outputs, and retrieved documents.
Agent Memory Patterns: Beyond Simple Context
Periodically consolidate memories for efficiency: 1. Layer your memory : Different types for different purposes 2. Manage capacity : Always have eviction…
Human-in-the-Loop AI Agents: Building Trust Through Oversight
Irreversible actions : Deletions, payments, deployments High cost operations : Expensive API calls, resource provisioning Sensitive data : PII handling,…
Cycles in Agent Graphs: Iterative Refinement Patterns
Real tasks often require iteration: Refinement : Improve output quality through multiple passes Retry : Handle failures with backoff strategies Search :…
Conditional Edges in LangGraph: Dynamic Agent Flows
Route based on multiple state attributes: Sometimes you don't know all routes ahead of time: Multiple decision points in sequence: Route with randomization…
Stateful AI Agents: Managing Context and Memory
All require state management beyond simple request-response.
Graph-Based AI Agents: Design Patterns and Architecture
Think of your agent as a state machine: Nodes : Processing steps (functions that transform state) Edges : Transitions between steps State : Accumulated…
LangGraph Introduction: Building Stateful AI Agents
LangGraph provides these capabilities through a graph-based execution model.
LangChain Updates: What's New in July 2024
LangChain 0.2.x Stability LCEL (LangChain Expression Language) Maturity Azure AI Search Vector Store
Semantic Router: Intent-Based LLM Routing
Semantic routing compares the meaning of a user's query against a set of example utterances. When the query is semantically similar to examples for a…
Latency-Based LLM Routing: Real-Time AI Applications
Latency has multiple components: 1. Network latency : Request travel time 2. Queue time : Waiting for processing 3. Time to first token (TTFT) : Initial…