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판)
68
GPT API를 활용한 인공지능 앱 개발(2판)
필드 이름 유형 설명
tool
_
choice
문자열 또는 객체 모델의 응답 방식을 설정합니다.
none
은 모델이 표준 방식으로 응답해야 함을 의미합니다.
{'
type
': '
function
', '
function
': {'
name
': '
my
_
function
'}}
는 모델이 지정된 함수를 사용해 응답해야 한다는
의미입니다.
auto
는 모델이 사용자에게 표준 응답을 하거나
tool
_
choice
정의된 기능 중에 택해 응답하도록 합니다.
temperature
실수(기본값:
1
, 설정 범위:
0
~
2
)
모델은 입력에 따라 각 토큰의 확률을 계산하며,
0
이면 가장 높은
확률의 토큰을 선택합니다. 값이 클수록 더 다양하고 창의적인 결과
를 출력합니다.
top
_
p
실수(기본값:
1
)
top
-
p
확률 질량을 가진 토큰을 고려하도록 모델에 지시하는 매개
변수입니다. 예를 들어
0
.
5
로 설정하면 총 확률의
50
%를 차지하는
토큰만 고려합니다.
n
정수(기본값:
1
)
주어진 입력 메시지에 대해 여러 개의 응답을 생성할 수 있는 매개
변수입니다.
temperature
값이
0
일 경우, 여러 응답을 생성하더
라도 모두 같거나 매우 유사한 결과가 나옵니다.
seed
정수
같은 시드
seed
값을 사용할 경우 반복된 요청에서 같은 결과를 반환
하도록 설계됐습니다. 그러나 ...
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