관성 없는 출력, 사실 부정확성, 환각 같은 문제를 겪는다. 이번 장에서는 그런 문제들을 완화
하는 패턴 네 가지를 소개한다.
심판형
LLM
LLM
-
as
-
a
-
Judge
(패턴
17
)은 모델 출력의 품질을 다른 기초 모델 또는 미세조정된 모
델로 평가함으로써 체계적인 평가 및 개선을 가능하게 한다.
성찰
Reflection
(패턴
18
)은 모델이
자신의 작업 과정과 결과물을 비평하고 정련
refinement
하는 과정을 반복하게 한다.
의존성 주입
De-
pendency
Injection
(패턴
19
)은 컴포넌트의 모의 구현
mocking
을 가능하게 함으로써 테스트 가능성과
견고성을 높인다. 마지막으로
프롬프트 최적화
Prompt
Optimization
(패턴
20
)은 입력 프롬프트를 구
조적으로 정련함으로써 다양한 입력 분포에 걸쳐 출력 신뢰성을 극대화한다.
이 패턴들을 종합하면 생성형
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.
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.