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
310
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
AI と API で開発を加速! Postman v11 リリース / Accelerate development with AI and APIs! Postman v11 released
yokawasa
3
92
プログラマーのためのVisual Studio Codeの教科書【改訂2版】の推しポイント / Visual Studio Code Textbook 2nd Edition Recommended Points
yokawasa
1
160
作りすぎない技術 - API時代の開発努力の在り方について考える / Thinking about the state of development efforts in the API era
yokawasa
12
12k
Postman v10リリース後を振り返る / Looking back at Postman v10 after release
yokawasa
1
650
コミュニティマーケを意識してコミュニティ立ち上げ中/Launching Community with Community Marketing Mind
yokawasa
1
170
Web API 学習ロードマップ 2024 / Web API Learning Roadmap 2024
yokawasa
35
11k
Postmanの中の人がAPIテクノロジー視点でMomentoを語る / Talking about Momento from an API technology perspective
yokawasa
3
340
VS CodeとPostmanを活用した効率的なAPI開発 / Efficient API development using VS Code and Postman
yokawasa
4
1.2k
APIをもっと使ってもらうには?- APIファースト戦略のすすめ / Recommendation of API-first strategy
yokawasa
0
830
Other Decks in Technology
See All in Technology
ビジネスに必要な全てを担い、 自分の専門性を見つけ出す フルサイクル開発者のあり方@技育祭 秋 / how-find-own-speciality-in-full-cycle
pei0804
6
830
RemixでVersion skewに立ち向かう
chimame
1
680
M5 Unitたちの 変わった使い方
haruka_imgr
0
180
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
46k
Valuable Software Engineering
avandeursen
0
190
Introducing NgRx in an Nx Angular Workspace
fabiangosebrink
0
170
コンポーネントテストの手法と その効果を考える
yotahada3
8
1.1k
映像・音声伝送システム
jtes
0
190
急拡大する開発組織を支えるナレッジワークの E2E テスト基盤
kworkdev
PRO
1
490
エムスリーエビデンス創出プロダクトチーム紹介資料 / Introduction of M3 Create Evidence Team
m3_engineering
0
2k
Classmethod AI Talks(CATs) #1 司会進行スライド(2024.09.19) / classmethod-ai-talks-aka-cats_moderator-slides_vol1_2024-09-19
shinyaa31
0
350
go:wasmexport
askua
1
120
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
59k
In The Pink: A Labor of Love
frogandcode
139
22k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
The Invisible Side of Design
smashingmag
296
50k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
158
15k
Speed Design
sergeychernyshev
22
450
4 Signs Your Business is Dying
shpigford
180
21k
Unsuck your backbone
ammeep
667
57k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Making the Leap to Tech Lead
cromwellryan
129
8.8k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
3
67
How to train your dragon (web standard)
notwaldorf
86
5.6k
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