포함됩니다. 커스터마이징 수준에 따라 시스템 프롬프트는 컨텍스트 윈도의 상당 부분을 차지할 수 있습니다.
●
입력 프롬프트: 입력 프롬프트에는 현재 입력된 질문이나 요청, 선택적으로 포함된 퓨샷 학습 예제, 검색으로
불러온 추가 배경 정보가 포함될 수 있습니다.
●
대화 히스토리: 사용자와
LLM
간의 대화/상호작용 내용을 기록합니다. 이를 컨텍스트 윈도에 포함하면 사용
자가
LLM
과 길고 일관된 대화를 나눌 수 있습니다.
●
스크래치패드
scratchpad
: 스크래치패드는
LLM
이 생성한 중간 결과를 담으며,
8
장에서 설명한 대로 이후 출력
생성 과정에서 이를 참조할 수 있습니다. 스크래치패드는 주로
CoT
와 같은 특정 프롬프트 기법의 일부로 활
용됩니다.
하지만
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.
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.