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
130
Yukihiro Yamaguchi
yukihiroyamaguchi
0
110
ChatGPT package
yukihiroyamaguchi
0
220
Yukihiro Yamaguchi
yukihiroyamaguchi
0
310
Other Decks in Programming
See All in Programming
CSC509 Lecture 05
javiergs
PRO
0
300
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
200
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
210
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
230
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.3k
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
830
技術的負債の正体を知って向き合う / Facing Technical Debt
irof
0
170
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
530
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
160
ポスターセッション: 「まっすぐ行って、右!」って言ってラズパイカーを動かしたい 〜生成AI × Raspberry Pi Pico × Gradioの試作メモ〜
komofr
0
1.3k
Catch Up: Go Style Guide Update
andpad
0
230
CSC305 Lecture 03
javiergs
PRO
0
240
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
Writing Fast Ruby
sferik
629
62k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Mobile First: as difficult as doing things right
swwweet
224
10k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
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という検索エンジンを呼び出し
ちょっとした 機能追加に 使えるかも?