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
120
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
76
医療画像解析 by GPT-4V
yukihiroyamaguchi
0
120
Yukihiro Yamaguchi
yukihiroyamaguchi
0
100
ChatGPT package
yukihiroyamaguchi
0
200
Yukihiro Yamaguchi
yukihiroyamaguchi
0
260
Other Decks in Programming
See All in Programming
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
160
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
AWS Organizations で実現する、 マルチ AWS アカウントのルートユーザー管理からの脱却
atpons
0
130
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
180
Open source software: how to live long and go far
gaelvaroquaux
0
630
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
130
2024年のWebフロントエンドのふりかえりと2025年
sakito
1
240
最近のVS Codeで気になるニュース 2025/01
74th
1
260
法律の脱レガシーに学ぶフロントエンド刷新
oguemon
5
730
Bedrock Agentsレスポンス解析によるAgentのOps
licux
3
820
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
45
16k
Unity Android XR入門
sakutama_11
0
150
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
Become a Pro
speakerdeck
PRO
26
5.1k
Designing for humans not robots
tammielis
250
25k
Facilitating Awesome Meetings
lara
51
6.2k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
A Tale of Four Properties
chriscoyier
158
23k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
How to train your dragon (web standard)
notwaldorf
91
5.8k
Fireside Chat
paigeccino
34
3.2k
YesSQL, Process and Tooling at Scale
rocio
171
14k
Thoughts on Productivity
jonyablonski
69
4.5k
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という検索エンジンを呼び出し
ちょっとした 機能追加に 使えるかも?