체인 모델 호출: 모델에 대한 호출을 증가시켜 시스템의 성능을 높이는 방법도 있습니다. 예를 들어 검증
체인
chain
of
verification
(
https://oreil.ly/-kgRM
) 패턴은 각자 다른 역할을 가진 두 번의 호출을 추천합
니다. 첫 번째
API
호출은 실제 작업이 포함된 프롬프트를, 두 번째
API
호출은 첫 번째 호출의 출력을
확인하는 프롬프트를 호출합니다. [그림
4
-
16
]에서 확인할 수 있습니다.
GPT
모델
<<어시스턴트>>
당신은 어시스턴트이며,
당신이 할 작업은...
GPT
모델
<<검사관>>
당신은 검사관이며,
당신은 어시스턴트가 생성한
출력이 지시 사항과 일치하
는지 확인해야 합니다...
LLM
출력
그림
4-16
어시스턴트 모델과 검사 모델 간의 흐름
TIP
LLM
기반 애플리케이션을 구축할 때는 기술적인 어려움도 있지만 설계 시 추가로 고려해야 할 사항도 있습니다.
2019
년에 마이크로소프트에서 발표한 논문 <인간과
AI
의 상호작용을 위한 가이드라인>
30
은 꽤 시간이 지났음에도 유
용한 정보를 담고 있습니다. 이 논문은 ‘시스템이 할 수 있는 일을 명확히 알리기’와 ‘사용자 행동에서 배우기’와 같이 인
간과
AI
상호작용을 위한
18
가지 지침을 제공합니다. 이 지침들은 ...
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.