복잡하고 비용만큼의 효과를 보지 못할 수 있습니다. 이 경우 긴 컨텍스트를 활용하고 전체 문
서를
GPT
모델에 통째로 전달하는 것과 같은 다양한 전략을 사용해야 할 수도 있습니다.
RAG
는 복잡한 주제입니다. 기본
RAG
의 설계는 간단하지만, 고급
RAG
설계는 여러 파이프
라인, 병렬 처리, 오픈
AI
API
의 많은 호출로 인해 복잡해질 수 있습니다. 이 문단에서 설명된
것보다 더 나아가 에이전트 행동과 채팅 기능을 도입해 시스템을 더욱 강력하게 만들 수 있습
니다. 하지만 복잡해질 위험이 있고, 유지하기 어려우며, 비용이 많이 드는 솔루션을 더하기보
다 높은 품질의 지식 베이스를 만드는 데 집중하는 것이 좋습니다.
4.4
전략 선택
이 장에서 소개된 모든 기법은 목적이 같습니다. 오픈
AI
의 모델을 개선하는 것입니다. 그런데
어디서 시작해야 할까요?
4.4.1
전략 비교
[표
4
-
2
]에 이번 장에서 소개된 모든 기법을 요약하겠습니다.
표
4-2
다양한 기법의 비교
제로샷 러닝퓨샷 러닝프롬프트 엔지니어링파인 튜닝
RAG
정의처음 보는 작업을
예시 없이 예측하기
프롬프트에 입력
예시와 원하는 출
력을 포함
상황, 역할, ...
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.