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

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

by 발리아파 락슈마난, 하네스 하프케, 류광
April 2026
Intermediate
592 pages
13h 28m
Korean
Hanbit Media, Inc.
Content preview from 에이전트 시대의 AI 시스템 설계
389
6
장
신뢰성 개선
6.4.3
예제
오라일리 책의 뒤표지에 실리는 정보를 개선한다고 하자. 흔히 뒤표지에는 책의 주제와 특
징, 독자가 배울 수 있는 내용과 함께 소위
블러브
blurb
(책의 초안을 검토한 리뷰어들의 짤막
한 추천 또는 칭찬 문구 )가 실린다. 책 소개문은 흔히 책의 저자가 작성한 초안을 바탕으로
하는데, 사실 저자들은 자기 책의 마케팅에 서툴기 마련이다. 그럼 책 소개문을 개선하는 파
이프라인을 구축하는 과정을 살펴보자. 예제의 전체 코드가 원서 깃허브 저장소의
prompt
_
optimization
.
ipynb
파일에 있으니 직접 따라 해 보길 권한다.
파이프라인 생성
제일 먼저 할 일은
DSPy
에 사용할
LLM
을 결정하는 것이다. 파이프라인의 단계마다 다른
LLM
을 사용할 수도 있지만, 간결함을 위해 여기서는 하나의
LLM
을 모든 호출에 사용하기로
한다.
import dspy
lm = dspy.LM("claude-3-7-sonnet-latest",
api_key=os.environ['ANTHROPIC_API_KEY'])
dspy.configure(lm=lm)
예상하겠지만
DSPy
는 모든 주요
LLM
을 지원한다.
책 소개문 개선 파이프라인의 첫 단계는 텍스트(뒤표지의 책 소개문 )에서 블러브를 추출하는
것이다. 이 단계의 입력은 뒤표지 텍스트이고 ...
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