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
88
医療画像解析 by GPT-4V
yukihiroyamaguchi
0
120
Yukihiro Yamaguchi
yukihiroyamaguchi
0
110
ChatGPT package
yukihiroyamaguchi
0
220
Yukihiro Yamaguchi
yukihiroyamaguchi
0
280
Other Decks in Programming
See All in Programming
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
320
システム成長を止めない!本番無停止テーブル移行の全貌
sakawe_ee
1
150
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
380
Team operations that are not burdened by SRE
kazatohiei
1
270
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
200
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.4k
Node-RED を(HTTP で)つなげる MCP サーバーを作ってみた
highu
0
110
PicoRuby on Rails
makicamel
2
110
XP, Testing and ninja testing
m_seki
3
210
#kanrk08 / 公開版 PicoRubyとマイコンでの自作トレーニング計測装置を用いたワークアウトの理想と現実
bash0c7
1
620
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
870
WindowInsetsだってテストしたい
ryunen344
1
200
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Adopting Sorbet at Scale
ufuk
77
9.4k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
281
13k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Facilitating Awesome Meetings
lara
54
6.4k
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という検索エンジンを呼び出し
ちょっとした 機能追加に 使えるかも?