Skip to Content
에이전트 시대의 AI 시스템 설계
book

에이전트 시대의 AI 시스템 설계

by 발리아파 락슈마난, 하네스 하프케, 류광
April 2026
Intermediate
592 pages
13h 28m
Korean
Hanbit Media, Inc.
Content preview from 에이전트 시대의 AI 시스템 설계
166
에이전트 시대의 AI 시스템 설계
색기
retriever
가 문서 저장소에서 유관 청크들, 즉 질문과 관련성이 높은 청크들을 찾는다. 생성
단계에서는 이 유관 청크들로 이루어진 컨텍스트와 사용자 질문을 합친 프롬프트를 모델에 제
출한다. 그러면 모델은 신뢰할 수 있는 지식 공급원에서 가져온 유관 정보로 그라운딩된 응답
을 생성하게 된다. 모델의 응답은 생성된 텍스트와 그 텍스트의 생성에 사용된 유관 청크 정보
로 구성된다.
그럼 이 단계들이 어떻게 작동하는지를 예제 코드와 함께 좀 더 구체적으로 살펴보자. 실제 프
로덕션 환경의
RAG
는 여기서 설명하는 것보다 훨씬 더 정교하다는 점을 염두에 두고 읽어 나
가기 바란다.
색인화
색인화 파이프라인의 역할은 원하는 정보를 효율적으로 검색할 수 있도록 지식 공급원 문서를
색인화하는 것이다. 검색 결과는 문서 전체가 아니라 문서의 일부인 청크여야 한다. 따라서 문
서 전체를 색인화하는 것이 아니라 문서를 적절한 크기의 청크로 분할하고 그 청크들을 색인화
해야 한다. 청크들은 검색기가 검색할 수 있도록 영구 저장소
persistent
store
에 저장된다.
여기서는 라마인덱스
LlamaIndex
프레임워크 (
https
://
www
.
llamaindex
.
ai
)를 사용하겠다. 다
음은 라마인덱스를 이용해서 텍스트 데이터를 문서 객체 ...
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’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
QuotationMarkI 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
QuotationMarkI’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
QuotationMarkI'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.
Mark W.
Embedded Software Engineer

You might also like

메타데이터 관리의 기본 원칙

메타데이터 관리의 기본 원칙

Ole Olesen-Bagneux
그림으로 배우는 생성형 AI

그림으로 배우는 생성형 AI

프리양카 베르가디아, 발리아파 락슈마난
잘되는 머신러닝 팀엔 이유가 있다

잘되는 머신러닝 팀엔 이유가 있다

데이비드 탄, 에이다 양, 데이비드 콜스

Publisher Resources

ISBN: 9791175790490