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
Yukihiro Yamaguchi
June 18, 2023
Programming
0
100
Yukihiro Yamaguchi
NOB ChatGPT部_第11回のLTスライドです。
今週のアップデートで追加になったFunction callingについて調べました。
Yukihiro Yamaguchi
June 18, 2023
Tweet
Share
More Decks by Yukihiro Yamaguchi
See All by Yukihiro Yamaguchi
Create Table Zeroを作った話
yukihiroyamaguchi
0
30
医療画像解析 by GPT-4V
yukihiroyamaguchi
0
59
Yukihiro Yamaguchi
yukihiroyamaguchi
0
96
ChatGPT package
yukihiroyamaguchi
0
140
Yukihiro Yamaguchi
yukihiroyamaguchi
0
220
Other Decks in Programming
See All in Programming
Snowflakeで眠ったデータを起こそう!
estie
0
140
GitHub Copilotのススメ
marcy731
1
220
Code Reviews
bkuhlmann
4
900
Goのエラースタックトレースの歴史と今後
sonatard
10
1.8k
Going beyond Apache Parquet's default settings
xhochy
0
130
Netty Chicago Java User Group 2024-04-17
sullis
0
200
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
9
1.4k
Node.js v22 で変わること
yosuke_furukawa
PRO
11
3.9k
Milestoner
bkuhlmann
1
410
Micro Frontends for Java Microservices - Utah JUG 2024
mraible
PRO
1
110
PHPはいつから死んでいるかの調査
chiroruxx
2
420
Anthropic Cookbook のおすすめレシピ
schroneko
7
1.1k
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
217
8.6k
Designing with Data
zakiwarfel
96
4.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
33
6k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
123
39k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
Web Components: a chance to create the future
zenorocha
306
41k
From Idea to $5000 a Month in 5 Months
shpigford
378
45k
Facilitating Awesome Meetings
lara
43
5.6k
Visualization
eitanlees
137
14k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
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という検索エンジンを呼び出し
ちょっとした 機能追加に 使えるかも?