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
PostmanのAIアシスタント Postbot / Postman's AI Assista...
Search
Yoichi Kawasaki
June 19, 2024
Technology
1
350
PostmanのAIアシスタント Postbot / Postman's AI Assistant Postbot
Presentation Slides for
さくらのAI Meetup vol2
Session title: PostmanのAIアシスタント Postbot
Date: 2024/06/19
Yoichi Kawasaki
June 19, 2024
Tweet
Share
More Decks by Yoichi Kawasaki
See All by Yoichi Kawasaki
さくっと実践!Postmanを活用した高品質で持続可能なAPI管理
yokawasa
5
370
APIファーストへの挑戦 - APIエコノミーの古今未来と 成功企業が実践するAPI戦略 / Challenge to API-first
yokawasa
1
69
AI と API で開発を加速! Postman v11 リリース / Accelerate development with AI and APIs! Postman v11 released
yokawasa
3
110
プログラマーのためのVisual Studio Codeの教科書【改訂2版】の推しポイント / Visual Studio Code Textbook 2nd Edition Recommended Points
yokawasa
1
180
作りすぎない技術 - API時代の開発努力の在り方について考える / Thinking about the state of development efforts in the API era
yokawasa
13
12k
Postman v10リリース後を振り返る / Looking back at Postman v10 after release
yokawasa
1
690
コミュニティマーケを意識してコミュニティ立ち上げ中/Launching Community with Community Marketing Mind
yokawasa
1
170
Web API 学習ロードマップ 2024 / Web API Learning Roadmap 2024
yokawasa
36
11k
Postmanの中の人がAPIテクノロジー視点でMomentoを語る / Talking about Momento from an API technology perspective
yokawasa
3
350
Other Decks in Technology
See All in Technology
塩野義製薬様のAWS統合管理戦略:Organizations設計と運用の具体例
tkikuchi
0
330
XSS攻撃から考察するAWS設定不備の恐怖/20241012 Hironobu Otaki
shift_evolve
0
180
VueとViteで作るUIコンポーネントライブラリ ~デザインシステムとプロダクトの理想的な分離を目指して~ / 20241019_cloudsign_VueFesJapan2024_1
bengo4com
8
4.9k
Introduction to Indistinguishability/Ideal Obfuscation (iO)
sorasuegami
0
110
プロンプトエンジニアリング入門 Rev.3
seosoft
0
120
Nuxt × Vue Router の力を最大限に引き出す機能を紹介
ytr0903
2
480
LeSS Yoake 2024 スポンサーセッション
riki_hiraoka
0
240
開発健全性の可視化と開発者体験の改善 ~ Compassでエンジニアに活力と生産性を ~
atlassianjapan
0
100
AWS Step Functionsのタスク入出力に秩序を与えよう
haku__hime
0
140
Measuring the Success of Developer Experience
nikokivela
2
120
JBoss EAPによるクラウドネイティブのススメ
chiroito
0
150
AWS CDKで大量のパラメータストアを作りたい
haku__hime
1
120
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
39
2.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.6k
What's new in Ruby 2.0
geeforr
342
31k
Code Reviewing Like a Champion
maltzj
519
39k
A better future with KSS
kneath
237
17k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
350
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.6k
Six Lessons from altMBA
skipperchong
26
3.4k
Thoughts on Productivity
jonyablonski
67
4.3k
Embracing the Ebb and Flow
colly
84
4.4k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.7k
Transcript
All rights reserved by Postman Inc PostmanのAIアシスタント Postbot Yoichi Kawasaki
Postman株式会社 Presentation slides for さくらのAI Meetup vol2
Technology Evangelist Postman株式会社 川崎 庸市 / Yoichi Kawasaki @yokawasa @postman_japan
Postbotとは? @postman_japan 生成AIを活用したAIアシスタント • 2024年5月に正式版 • Postman上の様々な処理を生成AIを活 用して支援 • エンタープライズ向けにはAzure
OpenAIサービスによる環境を分離する オプションも提供 • Postbotへの入力データは3rdパーティ モデルのトレーニングには一切使用され ない
Postbotのゴール Postbot’s goal is to increase developer productivity by assisting
developers with API testing and documentation, and helping debug requests. 開発者生産性をあげること
Postbot の主な使い方 • Postman の使い方を聞く • テストの生成を支援 • レスポンスの可視化 •
ドキュメントを生成 • リクエストのデバッグ @postman_japan
Postman の使い方を聞く フッターの「Postbot」をクリック @postman_japan
Postman の使い方を聞く 「How do I create a MockServer?」というプロンプトを入力してみる @postman_japan
テストの生成を支援 - 単一リクエストのテスト API リクエストの「Scripts」タブ >「Post-res」を選択、Postbot ボタンをクリック @postman_japan
テストの生成を支援 - 単一リクエストのテスト 「送信」ボタンを押してレスポンスを取得 @postman_japan なぜプロンプトの前にレスポンスの取得が必要なの ❓ プロンプトの文章に加えて、リクエストとレスポンスの両方 のデータを入力情報として、テストスクリプトを生成するた め
テストの生成を支援 - 単一リクエストのテスト 「Add tests to this request」というサンプルのプロンプトをクリック @postman_japan
テストの生成を支援 - 単一リクエストのテスト 生成されたテストスクリプトを確認 @postman_japan
テストの生成を支援 - 単一リクエストのテスト レスポンスの「テスト結果」タブを確認 @postman_japan
テストの生成を支援 - 単一リクエストのテスト プロンプトを工夫してテストを追加してみましょう @postman_japan
テストの生成を支援 - 自動補完 「pm.test("<テストの説明>", 」まで入力すると、説明を元にコードを補完してくれる @postman_japan NEW
テストの生成を支援 - まとめてテストスイート生成 コレクション一覧から対象のコレクションを右クリックし、「テストを生成」を選択 @postman_japan
テストの生成を支援 - まとめてテストスイート生成 右上の「Generate Tests」ボタンを押すと、AI がコレクション全体のテストを一括生成 @postman_japan
テストの生成を支援 - まとめてテストスイート生成 テストスクリプトとテスト結果を確認 @postman_japan
レスポンスを可視化 リクエストの「送信」ボタンを押してレスポンスを取得後、 「Visualize response...」というサンプルのプロンプトをクリック @postman_japan
レスポンスを可視化 レスポンスの「ボディ」欄の「可視化」の項目を確認 @postman_japan
レスポンスを可視化 「Visualize response...」に続けて「as line chart」というプロンプトを追加 @postman_japan
レスポンスを可視化 レスポンスの「Body」欄の「Visualize」の項目を確認 @postman_japan
ドキュメントを生成 リクエストを選んで、フッターの「 Postbot」をクリック @postman_japan
ドキュメントを生成 「Add documentation」というサンプルのプロンプトをクリック @postman_japan
ドキュメントを生成 右サイドバーのドキュメントアイコンをクリックして、生成された説明を確認 @postman_japan
ドキュメントを生成 - プロンプトで生成内容を指示 プロンプトで生成するドキュメントの内容を指示する 「Add documentation to describe request parameters
in table format」 「Add detailed documentation and include details about the response schema」 @postman_japan
リクエストのデバッグ リクエスト送信時に発生する予期せぬエラーに対して、問題解決のための解決策を提示してる @postman_japan
まとめ @postman_japan
本セッションではPostmanの中で利用できるAIアシスタント Postbotの紹介をさせていただきました。今後も進化を続けAPI開 発におけるさまざまな場面を支援していきます。今後のPostbot の進化にご期待ください
ご清聴いただき、ありがとうございました @postman_japan