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
660
コミュニティマーケを意識してコミュニティ立ち上げ中/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
Valuable Software Engineering
avandeursen
0
200
脆弱性を管理して、ビジネスリスクに備えよう 〜駆け出しエンジニアがCVEとSBOMを可視化してみた〜
ktgrryt
0
160
生成AIのためのデータ収集とデータエンジニアリング
shibuiwilliam
2
220
低コストで実現する社内文書RAG機能を搭載したAIチャットボット開発
takapy
2
180
Difyを活用した「内省支援」エージェント開発の所感
gmoriki
2
860
Technology that powers Lambda / AWS Lambda を支える技術
_kensh
22
5k
Passkey Autofill に賭けるマネーフォワード ID - Money Forward Tech Day 2024
nov
1
840
PHPでアクターモデルを理解・体験しよう / Understand and experience the actor model in PHP
ytake
1
110
Sansanにおける全社横断データ分析基盤の挑戦と未来 / Challenges and Future of Cross-Organizational Data Analytics Platform at Sansan
sansan_randd
1
210
OPENLOGI Company Profile
hr01
0
53k
Discovering AI Models
picardparis
4
3.9k
生成 AI による新しい UI/UX 〜サーバーレスで実現する Generative UI の世界〜 / generative ui with serverless
gawa
6
2.5k
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
48
7.1k
Become a Pro
speakerdeck
PRO
22
4.9k
Learning to Love Humans: Emotional Interface Design
aarron
271
40k
How STYLIGHT went responsive
nonsquared
93
5.1k
Rebuilding a faster, lazier Slack
samanthasiow
78
8.6k
The Illustrated Children's Guide to Kubernetes
chrisshort
47
48k
Faster Mobile Websites
deanohume
304
30k
Web development in the modern age
philhawksworth
205
10k
Code Review Best Practice
trishagee
62
16k
4 Signs Your Business is Dying
shpigford
180
21k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
Designing the Hi-DPI Web
ddemaree
278
34k
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