대한 응답으로 데이터 저장소에서 관련 데이터를 검색하는 핵심 기술입니다. 이제 이러한 배경
지식을 바탕으로
LLM
에 외부 데이터를 통합하는 응용 패러다임인 검색 증강 생성(이하
RAG
)
을 폭넓게 살펴보겠습니다.
이번 장에서는
RAG
애플리케이션의 전형적인 워크플로를 구성하는 각 단계를 깊이 있게 다루
며,
RAG
파이프라인 전반을 종합적으로 이해하고자 합니다. 또한 어떤 데이터를 검색할 수 있
으며, 어떻게 검색하고, 언제 검색할지를 포함해
RAG
를 실용화하는 데 필요한 다양한 의사결
정을 살펴볼 것입니다.
RAG
가 모델 추론 단계뿐만 아니라 모델 훈련과 파인 튜닝 과정에서도
어떻게 도움이 되는지를 강조하고, 다른 패러다임과 비교했을 때
RAG
가 특히 유리한 상황과
그렇지 않은 상황을 함께 고찰할 것입니다.
12.1
RAG
의 필요성
10
장에서 소개했듯이,
RAG
는 외부 데이터 소스를 사용해
LLM
의 기능을 증강하는 다양한 기
법을 설명하는 포괄적인 용어입니다.
RAG
를 사용하는 이유는 다음과 같습니다.
360 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.