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판)
81
2
오픈AI API
간단한 예시를 통해 사용자가 자연어로 데이터베이스와 상호작용할 수 있는 솔루션을 구축할
때 함수를 활용하는 방법을 확인했습니다. 함수 정의를 통해 모델이 원하는 대로 정확히 답변
하도록 제한할 수 있으며, 그 후에 응답을 애플리케이션에 통합할 수 있습니다.
2.6
텍스트 완성 모델
오픈
AI
는 대화가 아닌 단일 턴 작업을 위한 텍스트 완성
completions
API
를 제공합니다.
2024
1
월 이전까지는 텍스트 완성
API
에 다양한 모델이 지원됐으나, 현재는
gpt
-
3
.
5
-
turbo
-
instruct
만 활용됩니다. 이제는 지원하지 않는 텍스트 완성
API
를 본 절에서 다루는 이유는
기존 프로젝트에서 해당
API
를 사용한 경우 관리하는 법을 전달하기 위해서입니다. 새롭게 프
로젝트를 시작한다면 채팅 완성
chat
completion
API
를 활용할 것을 권장합니다.
채팅 완성
API
와 텍스트 완성
API
는 기능이 유사하지만, 두 가지 주요 차이점이 있습니다. 먼
저 채팅 완성은 대화를, 텍스트 완성은 특정 작업에 관한 간단한 텍스트를 완성합니다. 또, 채
팅 완성은 모든 최신 모델을 지원하고 텍스트 완성은 특정 모델만 지원합니다. 즉, 향후 서비스
운영을 위해서 채팅 완성을 사용하는 것을 권장합니다. 다음은 텍스트 완성 모델을 호출하는 ...
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