LLM Apps in Production (RAG + Vector DB + Caching) · 강의

벡터 데이터베이스의 필요성

기존 데이터베이스가 의미 검색에 부족한 이유와 벡터 데이터베이스가 RAG에서 이 격차를 해결하는 방식을 이해합니다.

레슨 1/412개 단계

벡터 데이터베이스의 필요성은(는) CoddyKit의 무료 LLM Apps in Production (RAG + Vector DB + Caching) 강의입니다. 이것은 4개 중 1번째 강의입니다. 아래에서 전체 강의를 무료로 읽을 수 있으며, 내장 코드 에디터와 24/7 AI 튜터와 함께 브라우저에서 직접 실습할 수 있습니다. 이 강의는 LLM Apps in Production (RAG + Vector DB + Caching) 학습 경로의 일부이며, 진행 상황이 웹과 CoddyKit 앱에 동기화됩니다. LLM Apps in Production (RAG + Vector DB + Caching) 강의에는 총 4개의 강의가 포함되어 있습니다.

이 강의의 일부는 아직 번역되지 않았으며 영어로 표시됩니다.

Beyond Keyword Search

Imagine you're looking for documents about "fast cars" but some documents use "speedy automobiles." A simple keyword search might miss these!

Traditional databases are great for exact matches, but struggle with understanding the meaning behind words.

How Traditional Databases Search

Most traditional databases (like SQL or NoSQL) rely on exact keyword matching or predefined indexes.

  • SQL Databases: Use structured queries to find data matching specific values.
  • NoSQL Databases: Offer more flexibility but often still depend on keys or keyword indexes.

They're like a librarian who only finds books if you know the exact title.

The Semantic Gap

If you search for "apple," a traditional database will find "apple." But what if you meant "fruit" or "tech company"?

It doesn't understand synonyms, related concepts, or the overall context. This is known as the "semantic gap."

What is Semantic Search?

Semantic search is about finding results based on the meaning or intent of your query, not just keywords.

It aims to provide relevant information even if the exact words aren't present. Think of it as a smart librarian who understands what you really want.

Turning Words into Numbers

To enable semantic search, we need a way to represent text (words, sentences, documents) numerically.

This is where vectors come in! A vector is a list of numbers that captures the "meaning" of a piece of text.

Texts with similar meanings will have vectors that are numerically "close" to each other.

The Power of Embeddings

These numerical vectors are called embeddings. They are generated by special machine learning models (embedding models).

An embedding model takes text as input and outputs a high-dimensional vector. For example, "king" and "queen" might have vectors that are close, and "man" and "woman" might have vectors that are also close, with a similar "gender" direction between them.

Traditional DBs Fall Short

While you could store vectors in a traditional database, querying them efficiently is a huge challenge.

  • Slow Comparisons: Finding "close" vectors involves complex mathematical comparisons.
  • No Native Support: Traditional databases aren't built to optimize these kinds of "similarity searches."
  • Scalability Issues: Performance degrades rapidly as your data (and vectors) grow.

Enter Vector Databases

Vector databases are purpose-built to store, index, and query these high-dimensional vectors efficiently.

They use advanced algorithms, like Approximate Nearest Neighbor (ANN) search, to quickly find vectors that are most similar to a given query vector.

Finding "Close" Vectors

Imagine each vector as a point in a vast, multi-dimensional space. Vector databases help us quickly find the points (documents) that are closest to our query point (our search intent).

This is much faster than checking every single point individually, which is what a traditional database would have to do.

Vector Databases in RAG

In a RAG (Retrieval Augmented Generation) system, vector databases are crucial.

They store the embeddings of your knowledge base. When a user asks a question, the question is also converted into an embedding, and the vector database quickly retrieves the most semantically relevant chunks of information.

This retrieved context is then given to the LLM for generating an accurate response.

Quick Check

We've discussed why traditional databases aren't ideal for semantic search. What key limitation do they have when dealing with the meaning of text?

Recap: Why Vector Databases?

We learned that traditional databases fall short for semantic search because they focus on keyword matching, not meaning.

Vector databases are specialized tools that store and efficiently query numerical representations of text (embeddings). They are essential for RAG systems to retrieve context based on semantic relevance, greatly enhancing the accuracy and helpfulness of LLMs.

무료로 시작

AI 튜터와 함께 LLM Apps in Production (RAG + Vector DB + Caching)을(를) 배우세요 — 무료

브라우저에서 실제 코드를 작성하고 실행하며, 24/7 AI 튜터로부터 즉각적인 도움을 받고, 웹이나 앱에서 중단한 부분부터 계속 학습하세요.

코스
12
레슨
48

자주 묻는 질문

“벡터 데이터베이스의 필요성” 강의는 무료인가요?

네 — “벡터 데이터베이스의 필요성” 전체 내용을 이 웹사이트에서 무료로 읽을 수 있습니다. 인터랙티브하게 실습하려면(내장 코드 에디터와 24/7 AI 튜터), CoddyKit PRO로 업그레이드하면 LLM Apps in Production (RAG + Vector DB + Caching) 강의 전체를 잠금 해제할 수 있습니다. LLM Apps in Production (RAG + Vector DB + Caching) 강의에는 총 4개의 강의가 포함되어 있습니다.

“벡터 데이터베이스의 필요성”에서 뭘 배우나요?

기존 데이터베이스가 의미 검색에 부족한 이유와 벡터 데이터베이스가 RAG에서 이 격차를 해결하는 방식을 이해합니다. 브라우저에서 직접 실행하는 실습 코드로 LLM Apps in Production (RAG + Vector DB + Caching)을(를) 배우며, 24/7 AI 튜터가 강의를 진행하면서 질문에 답변해줍니다.

LLM Apps in Production (RAG + Vector DB + Caching)을(를) 시작하는 데 경험이 필요한가요?

사전 경험은 필요하지 않습니다. CoddyKit의 LLM Apps in Production (RAG + Vector DB + Caching)은(는) 초급자부터 고급 학습자까지를 위해 구성되어 있으므로, 여기서 시작하거나 처음부터 시작할 수 있으며 자신의 속도대로 진행할 수 있습니다. 이것은 4개 중 1번째 강의입니다.

“벡터 데이터베이스의 필요성” 강의는 얼마나 걸리나요?

대부분의 CoddyKit 강의는 약 5~10분이 소요됩니다. 각 강의는 간결하고 인터랙티브하여 꾸준한 진행이 가능하며, 웹과 앱에서 중단한 부분부터 바로 시작할 수 있습니다.

이 LLM Apps in Production (RAG + Vector DB + Caching) 강의에서 코드를 작성하고 실행할 수 있나요?

네. 모든 LLM Apps in Production (RAG + Vector DB + Caching) 강의에는 내장 코드 에디터가 포함되어 있으므로, 브라우저에서 바로 실제 코드를 작성하고 실행한 후 즉시 AI 피드백을 받을 수 있습니다 — 로컬 설정이 필요 없습니다.

이 강의의 모든 강의

  1. 벡터 데이터베이스의 필요성
  2. 벡터 임베딩과 유사도 검색
  3. 벡터 데이터베이스 연동하기
  4. 인덱싱, 필터링 및 하이브리드 검색
← LLM Apps in Production (RAG + Vector DB + Caching)(으)로 돌아가기