Posts tagged "AI / LLMs"
Essays, field notes, and engineering write-ups by Al Amin Ahamed covering AI / LLMs — practical patterns, gotchas from production code, and lessons learned shipping real systems. Topics include architecture decisions, performance tuning, debugging stories, and integration notes you can apply directly to your own AI / LLMs work.
· 8 min read
Cutting Claude API Costs by 89% with Prompt Caching
A practical Laravel integration of Anthropic prompt caching — what to cache, the 1024-token minimum, multi-breakpoint strategies, and real cost numbers.
· 8 min read
Building a RAG Pipeline in Laravel with pgvector
How I built the AI chat on this site: chunking documents, generating embeddings with Voyage AI, storing them in pgvector, and answering questions with Claude.
· 9 min read
Semantic Search with pgvector and Laravel Scout
Add meaning-based search to your Laravel app using a custom Scout driver, pgvector HNSW index, and Voyage AI embeddings — with a hybrid keyword fallback.