Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Backlog APIと生成系AIで考える課題優先度 / Issue prioritisation with Backlog API and generative AI.

Backlog APIと生成系AIで考える課題優先度 / Issue prioritisation with Backlog API and generative AI.

Backlog World 2023
https://backlogworld.info

shiro seike

December 09, 2023
Tweet

More Decks by shiro seike

Other Decks in Programming

Transcript

  1. Backlog API

    AI
    Backlog World
    2 0
    2 3
    Re:Boot-
    2
    0
    23
    .
    12
    .
    9
    @seike
    4
    60
    1

    View full-size slide

  2. 自己
    @seike
    46
    0
    -
    - @seike
    46
    0
    - AWS Community Builder Serverless
    - Fusic
    - /

    - /
    -
    - Fukuoka.php
    - Fukuoka.go
    - Serverless Meetup Fukuoka
    - Backlog
    - Backlog = Fusic

    = 8

    -

    Backlog
    2

    View full-size slide

  3. Agenda
    1
    .Backlog

    2
    .

    3
    .Backlog API x OpenAI
    4
    .

    5
    .
    3

    View full-size slide

  4. 01
    Backlog

    View full-size slide

  5. Backlog

    8

    Backlog Top

    Backlog
    Backlog

    5

    View full-size slide

  6. -
    -
    -



    Backlog
    6
    Backlog
    Backlog

    View full-size slide

  7. Wiki

    Backlog
    8 自

    View full-size slide



  8. Backlog ⾒
     
    9

    View full-size slide

  9. 稿

    (

    )
    10

    View full-size slide

  10. 自 自身
    高 用
    一 見

    11

    View full-size slide

  11. 03
    Backlog API x OpenAI

    View full-size slide

  12. Backlog API
    Wiki
    Backlog

    API

    13
    URL https://developer.nulab.com/ja/docs/backlog/

    View full-size slide

  13. Backlog API


    一 一
    自 見 一
    自 見
    自 見 一
    自 見
    Wiki

    自 見
    Wiki

    一 一
    一 一
    稿

    14 一 一


    ( )

    ( )
    ( )
    ( )

    一 用
    Webhook

    Webhook
    Webhook
    Webhook
    Webhook

    Wiki

    Wiki
    Wiki

    Wiki
    Wiki
    Wiki
    Wiki
    Wiki 築

    Wiki 築
    Wiki 築
    Wiki 築
    Wiki

    Wiki
    Wiki
    Wiki

    Wiki







    一 一 目


    一 一




    一 一

    Git

    Git
    1
    54

    View full-size slide

  14. Backlog API

    API
    15
    URL https://developer.nulab.com/ja/docs/backlog/api/
    2
    /get-activity/
    API

    View full-size slide

  15. - API Key
    - OAuth
    2
    .
    0
    Backlog API
    16
    URL https://developer.nulab.com/ja/docs/backlog/auth/

    View full-size slide

  16. API Key

    API Key



    API Key

    HTTP

    自 用

    17
    import requests
    api_key = ‘YOUR_API_KEY'
    base_url = 'https://{YourSpaceName}.backlog.com/api/v2/issues'
    params = { 'apiKey': api_key }
    response = requests.get(base_url, params=params)
    # responseͷதʹ՝୊ͷ৘ใ͕ೖ͍ͬͯΔ

    View full-size slide

  17. API Key
    API KEY

    -> API

    KEY
     
      身 見
    18

    View full-size slide

  18. OAuth
    2
    .
    0方
    OAuth
    2
    .
    0 用
    Web API
    Web

    非 用
    19

    View full-size slide

  19. OAuth
    2
    .
    0 方 用
    - Redirect URI
    -
    - URL
    Client_Secret

     
    20

    View full-size slide

  20. OpenAI
    OpenAI
    人工
    AI

    OpenAI

    AI
    AI

    OpenAI
    GPT Generative Pre-trained Transformer
    自 言
    NLP

    大 言 文 生
    言 行
    DALL-E
    生 生
    OpenAI
    OpenAI
    21

    View full-size slide

  21. Chat Completions API
    Chat Completions API OpenAI API

    GPT-
    3
    GPT-
    4 力 言 用
    入力 自 言 生
    API


    GPT

    自 生





    大 大 用
    っ ⾒
    REST API




    用 支
    API

    API
    用 金 用
    22

    View full-size slide

  22. ChatGPT
    23
    ChatGPT

    用 入力 行
    入力
    Chat Completions API

    入力 用

    View full-size slide

  23. Backlog
    25 自身

    View full-size slide


  24.  自
      高
      高
    自 自
    26

    View full-size slide

  25. 自 自

    27

    View full-size slide


  26. ->

    自 自
    OpenAI
    28

    View full-size slide

  27. OpenAI

    A.
    B.
    C.

    D.
    29

    View full-size slide

  28. 生 用
    人 行
      人
    Backlog
     
    30

    View full-size slide

  29. Embeddings API -> Backlog API

    Embeddings API
    用 用

    Backlog API
    1
    - Read
    600
    - Update:
    150
    - Search:
    150
    - Icon:
    60

    GPT-
    4
    Turbo Backlog API
    34
    URL https://[hoge].backlog.jp/api/v
    2
    /rateLimit

    View full-size slide

  30. 35
    nulab

    OpenAI

    View full-size slide

  31. 37
    Backlog Backlog
    Point
    1
    Backlog API Backlog API
    Point
    2
    OpenAI

    Point
    3
    Backlog

    AI
    Point
    4

    View full-size slide

  32. Thank You
    We are Hiring !
    https://recruit.fusic.co.jp/

    View full-size slide