Tag: 학습
All the articles with the tag "학습".
-
Building RAG from Scratch — Embedding, Cosine Similarity, Chunk Search (with Korean vs English Comparison)
Carving out the inside of RAG (Retrieval-Augmented Generation) with actual code, from what embedding even is to debugging suspicious results. I pulled 1536-dimension vectors with OpenAI's text-embedding-3-small, compared them with cosine similarity, compared Korean vs English performance, and worked through chunk splitting. Surprisingly, Korean embedding similarity turned out to be lower.
-
API Design Vocabulary for Vibe Coding — REST, Status Codes, Idempotency, Pagination, Authentication/Authorization
Part 3 of the terminology series. After creating DB tables, how do you expose those resources to the outside world? 5 core vocabulary terms to escape the vague instruction 'build me an API' — REST, status codes, idempotency, pagination, authentication/authorization — plus bonus CORS. I set up a separate playground where you can try out the core concepts hands-on.
-
Claude API Error Handling and Retry — Distinguishing Transient, Permanent, and Format Errors + Exponential Backoff
What errors should I handle, and how, to build a reliable LLM service? I classify errors into transient / permanent / user input / response format categories, and practice through 4 stages: basic try-except wrapper → Exponential backoff → Anthropic SDK built-in retry → JSON response validation.
-
DB & Data Modeling Vocabulary for Vibe Coding — From Normalization to Migration
Part 2 of the vocabulary series that follows the UI vocabulary post. Six core terms to help you move past vague instructions like 'just build me a DB' — normalization, relationships, indexes, transactions, isolation levels, migrations — woven into a single thread. Core concepts also come with a hands-on playground.