Skip to Content
GPT API를 활용한 인공지능 앱 개발(2판)
book

GPT API를 활용한 인공지능 앱 개발(2판)

by 올리비에 케일린, 마리 알리스 블레트, 이일섭, 박태환
December 2024
Beginner to intermediate
320 pages
7h 25m
Korean
Hanbit Media, Inc.
Content preview from GPT API를 활용한 인공지능 앱 개발(2판)
210
GPT API를 활용한 인공지능 앱 개발(2판)
4.2.5
파인 튜닝 예시
이 예시에서는 이메일 마케팅 에이전시를 위해 맞춤형 이메일 캠페인을 생성하는 타겟팅된 콘
텐츠를 활용한 텍스트 생성 도구를 만듭니다. 이 이메일은 독자들을 참여시키고 제품이나 서비
스를 홍보합니다.
이 대행사의 고객 중에는 전자 상거래를 위한 새로운 결제 서비스를 제공하려는 업체가 있다고
가정합시다. 업체는 이메일 마케팅 캠페인 기획을 의뢰했고 대행사는 이 프로젝트에 파인 튜닝
기법을 사용하기로 했습니다. 파인 튜닝에는 대량의 데이터가 필요합니다.
여기서는 데모 목적으로 데이터를 합성해서 생성합니다. 일반적으로는 전문가가 제공하는 데
이터를 사용해 더 나은 결과를 얻을 수 있지만 때로는 합성 데이터 생성이 유용한 솔루션이 될
수 있습니다. 이어서 자세히 살펴봅시다.
합성 데이터셋 만들기
예시에서는
GPT
-
4o
로 가상의 데이터를 생성합니다. 이를 위해 프롬프트에 특정 판매자에
게 전자 상거래 서비스를 광고할 프로모션 문장을 원한다고 입력합니다. 판매자는 상점 유
형, 상점이 있는 도시, 상점 규모에 따라 각각 특징이 있습니다.
4
.
1
절에서 정의한
chat
_
completion
함수를 활용해
GPT
-
4o
에 프롬프트를 전송해 프로모션 문장을 출력합니다.
NOTE
깃허브 저장소의
Ch4
_
GPT4o ...
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

개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에
GPT-4를 활용한 인공지능 앱 개발

GPT-4를 활용한 인공지능 앱 개발

올리비에 케일린, 마리 알리스 블레트

Publisher Resources

ISBN: 9791169213295