DEV Community

#aiengineering

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Parsing a streamed LLM response in Node.js: Server-Sent Events, split chunks and the CRLF bug

Parsing a streamed LLM response in Node.js: Server-Sent Events, split chunks and the CRLF bug

Comments
5 min read
Semantic caching for LLM apps: when reusing an answer is safe, and when it's a bug

Semantic caching for LLM apps: when reusing an answer is safe, and when it's a bug

Comments
4 min read
Verifying JWTs in Node.js: alg none, algorithm confusion, audience checks and clock skew

Verifying JWTs in Node.js: alg none, algorithm confusion, audience checks and clock skew

Comments 1
4 min read
Finding near-duplicate documents with MinHash and LSH before you index them for RAG

Finding near-duplicate documents with MinHash and LSH before you index them for RAG

Comments
4 min read
Request IDs in Node.js logs with AsyncLocalStorage: trace one request through every await

Request IDs in Node.js logs with AsyncLocalStorage: trace one request through every await

Comments
4 min read
Rate limiting LLM API calls in Node.js: a token bucket for requests and tokens per minute

Rate limiting LLM API calls in Node.js: a token bucket for requests and tokens per minute

Comments
4 min read
Fuzzy name matching for sanctions screening: normalisation, transliteration and Jaro-Winkler

Fuzzy name matching for sanctions screening: normalisation, transliteration and Jaro-Winkler

Comments
5 min read
MCP Gateway Compared: AgentCore vs Docker vs ContextForge

MCP Gateway Compared: AgentCore vs Docker vs ContextForge

Comments
17 min read
What is the Model Context Protocol (MCP)? Tools, resources, transports and auth, explained by someone who built a server

What is the Model Context Protocol (MCP)? Tools, resources, transports and auth, explained by someone who built a server

Comments
4 min read
Prompt injection from scraped data: guarding an LLM that writes outreach emails

Prompt injection from scraped data: guarding an LLM that writes outreach emails

Comments
4 min read
Hybrid search for RAG: BM25 plus vectors, merged with reciprocal rank fusion

Hybrid search for RAG: BM25 plus vectors, merged with reciprocal rank fusion

Comments
4 min read
Idempotent webhooks in Node.js: handle every event once, even when it's delivered twice

Idempotent webhooks in Node.js: handle every event once, even when it's delivered twice

1
Comments
4 min read
Retrying LLM API calls: exponential backoff, jitter, Retry-After and model fallbacks

Retrying LLM API calls: exponential backoff, jitter, Retry-After and model fallbacks

Comments
4 min read
OpenAI Agents SDK vs LangGraph vs Strands Compared

OpenAI Agents SDK vs LangGraph vs Strands Compared

Comments
15 min read
How LLM tool calling works: the loop, the schema, and the mistakes that break agents

How LLM tool calling works: the loop, the schema, and the mistakes that break agents

Comments
3 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.