Skip to Content
핸즈온 LLM
book

핸즈온 LLM

by 제이 알아마르, 마르턴 흐루턴도르스트, 박해선
June 2025
Beginner to intermediate
460 pages
11h 46m
Korean
Hanbit Media, Inc.
Content preview from 핸즈온 LLM
255
7
고급 텍스트 생성 기술과 도구
7-1
메모리 종류에 따른 장단점
메모리 종류 장점 단점
대화 버퍼
구현이 쉬움
문맥 윈도 안에 정보 손실이 없음
토큰이 많아질수록 생성 속도가 느림
문맥 윈도가 큰
LLM
에만 적합함
대화 기록이 크면 정보 추출이 어려워짐
윈도 대화 버퍼
대화 기록이 길지 않다면 문맥 윈도가 큰
LLM
이 필요하지 않음
마지막
k
개의 대화에서는 정보 손실이 없음
마지막
k
개의 대화만 기록함
마지막
k
개의 대화를 압축하지 않음
대화 요약
전체 기록을 활용함
긴 대화가 가능함
전체 기록을 활용하는 데 필요한 토큰 개수가
줄어듦
대화마다 추가적인
LLM
호출이 필요함
품질이
LLM
의 요약 능력에 의존적임
7.4
에이전트:
LLM
시스템 구축하기
지금까지 사용자가 정의한 일련의 단계를 따르는 시스템을 만들었습니다. 가장 유망한
LLM
념 중 하나는
LLM
이 행동을 결정할 수 있는 능력입니다. 이런 아이디어를 에이전트
agent
라고 합
니다. 언어 모델을 사용해 어떤 행동을 어떤 순서로 수행할지 결정하는 시스템입니다.
에이전트는 모델
I
/
O
, 체인, 메모리 등 지금까지 본 모든 것을 활용할 수 있으며 두 개의 핵심
구성 요소로 이를 더 확장할 수 있습니다.
에이전트가 스스로 수행할 수 없는 작업을 위해 사용할 ...
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

LLMOps

LLMOps

Abi Aryan
딥러닝의 정석(2판)

딥러닝의 정석(2판)

니틴 부두마, 니킬 부두마, 조 파파
FastAPI

FastAPI

Bill Lubanovic

Publisher Resources

ISBN: 9791169213516