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
340
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
350
APIファーストへの挑戦 - APIエコノミーの古今未来と 成功企業が実践するAPI戦略 / Challenge to API-first
yokawasa
1
65
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
v-modelの歩みを振り返る
bengo4com
5
1.5k
WSUSが非推奨に!? Windowsの更新管理を改めて勉強する!
ebibibi
0
550
俺とVSCode Python Debugger Extension
sat
PRO
1
140
塩野義製薬様のAWS統合管理戦略:Organizations設計と運用の具体例
tkikuchi
0
300
テクニカルライターのチームで「目標」をどう決めたか / MVV for a Team of Technical Writers
lycorptech_jp
PRO
3
150
Rist_Meetup_Kaggleは業務の役にたつ - ビジネスコンテンツ情報を活用する BtoB 事業編 - / rist-meetup-20241012
taro_masuda
0
260
Grafana エコシステムの活用事例 on ABEMA
tetsuya28
5
710
Application Signalsで始めるSLO ユーザー満足度を数値化する第一歩
niftycorp
PRO
2
140
Microsoft 365 でデータセキュリティを強化しよう
sophiakunii
2
450
KongによるAPIライフサイクル マネジメント
hashitokyo
1
160
Bluesky 2019〜2022
yamarten
1
120
20241015 Toranomon Tech Hub#1 Service Catalog使ってみた
hiashisan
0
210
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
YesSQL, Process and Tooling at Scale
rocio
167
14k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Become a Pro
speakerdeck
PRO
24
4.9k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Done Done
chrislema
181
16k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
The Art of Programming - Codeland 2020
erikaheidi
51
13k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
40
2.1k
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