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
93
医療画像解析 by GPT-4V
yukihiroyamaguchi
0
120
Yukihiro Yamaguchi
yukihiroyamaguchi
0
110
ChatGPT package
yukihiroyamaguchi
0
220
Yukihiro Yamaguchi
yukihiroyamaguchi
0
300
Other Decks in Programming
See All in Programming
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
590
Laravel Boost 超入門
fire_arlo
3
210
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
2.2k
CJK and Unicode From a PHP Committer
youkidearitai
PRO
0
110
AIコーディングAgentとの向き合い方
eycjur
0
270
はじめてのMaterial3 Expressive
ym223
2
280
@Environment(\.keyPath)那么好我不允许你们不知道! / atEnvironment keyPath is so good and you should know it!
lovee
0
120
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
260
Deep Dive into Kotlin Flow
jmatsu
1
330
Processing Gem ベースの、2D レトロゲームエンジンの開発
tokujiros
2
130
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
320
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
430
Featured
See All Featured
Speed Design
sergeychernyshev
32
1.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Art of Programming - Codeland 2020
erikaheidi
56
13k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
GitHub's CSS Performance
jonrohan
1032
460k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Navigating Team Friction
lara
189
15k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
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という検索エンジンを呼び出し
ちょっとした 機能追加に 使えるかも?