Skip to Content
그림으로 배우는 생성형 AI
book

그림으로 배우는 생성형 AI

by 프리양카 베르가디아, 발리아파 락슈마난, 류광
April 2026
Intermediate
348 pages
8h 22m
Korean
Hanbit Media, Inc.
Content preview from 그림으로 배우는 생성형 AI
106
그림으로 배우는 생성형 AI
review="광둥요리의 진정한 보석 ... "
)
4
.
이제
answer
객체에는 후속 코드에서 사용할 수
있는 다음과 같은 필드들이 들어 있습니다
.
answer.sentiment # 리뷰의 감성 분류
결과
그림
2 - 14
프롬프트 템플릿과 프롬프트 연쇄를 통해 생성형
AI
를 실행하는 작업흐름
API를 통한 생성형 AI 호출:
프롬프트 템플릿과 체인
“API 키 주세요”“API 키 주세요”
응답 문자열응답 문자열
“API 키 “API 키
여기 있어요”여기 있어요”
랭체인을 통해 API 호출랭체인을 통해 API 호출
생성형 AI 제공업체
메타
AI
구글
오픈
AI
LLM마다 다른 형식의 응답을 반환할 수 있다.
이 출력 파서는 응답을 파싱해서 최종 응답 문자열만 추출한다.
프롬프트 연쇄를 이용해서 동적으로 프롬프트를 구성하고, 이를 LLM에
전달하고, 응답을 출력 파서에 전달한다.
체인에 필요한 템플릿 변수들을 담은
딕셔너리 객체
제미나이의 응답 예시:
감성: 긍정적
언급된 측면: 음식 및 서비스
프롬프트
템플릿
생성형 AI
서비스 LLM
(모델 API)
출력
파서
체인
107 ...
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

만들면서 배우는 생성 AI

만들면서 배우는 생성 AI

데이비드 포스터

Publisher Resources

ISBN: 9791175790476