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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yukihiro Yamaguchi
June 18, 2023
Programming
140
0
Share
Yukihiro Yamaguchi
NOB ChatGPT部_第11回のLTスライドです。
今週のアップデートで追加になったFunction callingについて調べました。
Yukihiro Yamaguchi
June 18, 2023
More Decks by Yukihiro Yamaguchi
See All by Yukihiro Yamaguchi
Create Table Zeroを作った話
yukihiroyamaguchi
0
97
医療画像解析 by GPT-4V
yukihiroyamaguchi
0
130
Yukihiro Yamaguchi
yukihiroyamaguchi
0
110
ChatGPT package
yukihiroyamaguchi
0
220
Yukihiro Yamaguchi
yukihiroyamaguchi
0
340
Other Decks in Programming
See All in Programming
CursorとClaudeCodeとCodexとOpenCodeを実際に比較してみた
terisuke
1
410
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
200
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
840
Feature Toggle は捨てやすく使おう
gennei
0
560
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
890
10 Tips of AWS ~Gen AI on AWS~
licux
5
310
Make GenAI Production-Ready with Kubernetes Patterns
bibryam
0
110
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
240
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
180
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
3
270
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
460
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
We Have a Design System, Now What?
morganepeng
55
8.1k
The SEO Collaboration Effect
kristinabergwall1
0
420
Facilitating Awesome Meetings
lara
57
6.8k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
340
Crafting Experiences
bethany
1
110
Technical Leadership for Architectural Decision Making
baasie
3
320
New Earth Scene 8
popppiees
3
2k
Scaling GitHub
holman
464
140k
So, you think you're a good person
axbom
PRO
2
2k
BBQ
matthewcrist
89
10k
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という検索エンジンを呼び出し
ちょっとした 機能追加に 使えるかも?