Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Yukihiro Yamaguchi
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yukihiro Yamaguchi
June 18, 2023
Programming
140
0
Share
Yukihiro Yamaguchi
NOB ChatGPT部_第11回のLTスライドです。
今週のアップデートで追加になったFunction callingについて調べました。
Yukihiro Yamaguchi
June 18, 2023
More Decks by Yukihiro Yamaguchi
See All by Yukihiro Yamaguchi
Create Table Zeroを作った話
yukihiroyamaguchi
0
97
医療画像解析 by GPT-4V
yukihiroyamaguchi
0
130
Yukihiro Yamaguchi
yukihiroyamaguchi
0
110
ChatGPT package
yukihiroyamaguchi
0
220
Yukihiro Yamaguchi
yukihiroyamaguchi
0
340
Other Decks in Programming
See All in Programming
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
330
「速くなった気がする」をデータで疑う
senleaf24
0
160
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
240
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
230
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
190
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
240
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
300
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
300
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
130
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
190
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
360
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
270
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
180
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Cult of Friendly URLs
andyhume
79
6.8k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
290
Scaling GitHub
holman
464
140k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
160
Typedesign – Prime Four
hannesfritz
42
3k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Transcript
Function Callingって何? Yukihiro Yamaguchi
自 己 紹 介 2 山口 征啓(ゆきひろ) • 福岡県北九州市在住 •
感染症・感染対策コンサルタント • 九州大学医療経営・管理学修士課程 • R, GAS@ノンプロ研 • 趣味:R、パソコン、ランニング ID_HelpDesk
6/13 update でFunctio callingが追加 他には、 ・gpt-3.5-turboの入力が16kまでに ・embedding modelのコストが75%オフ ・gpt.3.5-turbo-のコストが25%オフ
こちらのブログが分かりやすかったです
結論としてはこちら
Pluginとやっていることは変わらない https://twitter.com/harrythecode
具体例:chatbot 「アーニャにメールして、来週金予備にコーヒー飲まないか聞いて」 send_email(to: string, body: string) 「ボストンの天気は?」 get_current_weather(location: string, unit:
'celsius' | 'fahrenheit') これらは /v1/chat/completions エンドポイントのfunctionsとfunction_callで設定する
具体例2 自然言語をAPIコールに変換して「顧客の中でトップは誰?」 文章から構造化されたデータを取り出す
Create chat completion 公式ドキュメント https://platform.openai.com/docs/api-ref erence/chat/create
Create chat completion 公式ドキュメント https://platform.openai.com/docs/api-ref erence/chat/create#chat/create-function s
Create chat completion 公式ドキュメント https://platform.openai.com/docs/api-ref erence/chat/create#chat/create-function _call
一番の違いはgpt-3.5でplugin同様の処理ができる ↓3.5にウェブブラウジングを追加した人
Pythonからduck duck goという検索エンジンを呼び出し
ちょっとした 機能追加に 使えるかも?