Skip to main content
友田 陽大

Category

生成AI・LLM・RAG の本番実装ガイド

生成AIの本番化は、プロンプトの巧拙ではなく「型安全な境界・回復性・コスト・可観測性」をどう設計するかで決まります。LLM出力はZodスキーマで検証し、ツールは決定的コードと使い分け、フォールバックとタイムアウトで止めない。Vercel AI SDK / Claude API の実装から、RAG・AIエージェント・動画AIパイプライン・エッジAIまでを扱います。音声認識・音声合成・音声エージェントに特化した設計は『音声・ボイスAI』クラスタを参照してください。

11 articles in total

Foundational guide

Foundational guide (start here)

TypeScript
RAG
Next.js
Vercel
AI

Building Production LLM Apps with Vercel AI SDK v6: Streaming, Tool Calling, Structured Output, and RAG in Real Code

A practical guide to building production-quality LLM apps in TypeScript. Centered on Vercel AI SDK v6 and AI Gateway, explained with working code and decision axes: generateText/streamText, structured output with Zod schemas, tool calling and agents, the useChat streaming UI, RAG with embed/embedMany, and cost, reliability, security, and observability.

19 min read

Related practical articles