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

Step by Step: 生成AIアプリケーション開発入門

Step by Step: 生成AIアプリケーション開発入門

OutSystems User Group (OSUG) Tokyo「AI活用最前線!OutSystems × AIで広がる開発の可能性」の発表資料です。
https://usergroups.outsystems.com/e/m2spb9/

More Decks by LINEヤフーTech (LY Corporation Tech)

Other Decks in Technology

Transcript

  1. © LY Corporation LINEヤフー株式会社 コーポレートIT統括本部 桶谷 直樹 Step by Step:

    生成AIアプリケーション開発入門 2025-03-27 Online OSUG Meetup
  2. © LY Corporation • OJEC(OutSystems Japan Enterprise Community)登壇 4回 •

    乃木坂46 のTシャツを着てくる人 • OutSystems x AIの状況 • 個人的に、本セッション準備のため、ODC評価環境でAI Agent Builderを使ってみた 2 自己紹介 https://zenn.dev/oke_py
  3. © LY Corporation イントロダクション Step 1: LLM単体利用 Step 2: RAG(検索

    + LLM) Step 3: Function Calling まとめ & Next Step 0 2 1 3 4 3 Step by Step: 生成AIアプリケーション開発入門 Agenda
  4. © LY Corporation 1. AIアシストによる開発効率化 • Mentor • App Generator

    • App Editor • Code Assist • Code Quality 2. AIアプリケーション開発 • マネージドAI/MLサービス活用型 • Amazon Rekognition • Amazon Transcribe • 生成AI活用型(本発表のスコープ) • Mentor • AI Agent Builder 4 OutSystemsにおけるAI活用の分類
  5. © LY Corporation • あなたが生成AIアプリケーション開発をはじめるきっかけを得ること • 「難しそう」「まだ早いかも」と感じているあなたの背中を、少しだけ押したい • 私自身は、本セッションの登壇がきっかけとなった •

    手を動かすことで理解が深まることを実感してもらうこと • 私自身も、本セッションの準備を通じて大きく解像度が上がった • 小さな一歩でも、実際に試すことで見える景色が変わる 5 本セッションの目的
  6. © LY Corporation イントロダクション Step 1: LLM単体利用 Step 2: RAG(検索

    + LLM) Step 3: Function Calling まとめ & Next Step 0 2 1 3 4 6 Step by Step: 生成AIアプリケーション開発入門 Agenda
  7. © LY Corporation イントロダクション Step 1: LLM単体利用 Step 2: RAG(検索

    + LLM) Step 3: Function Calling まとめ & Next Step 0 2 1 3 4 14 Step by Step: 生成AIアプリケーション開発入門 Agenda
  8. © LY Corporation 15 Step 2: RAG(検索 + LLM) 自社情報をもとに回答してほしい

    回答 質問 DB ドキュメント 検索 LLM ※RAG(Retrieval-Augmented Generation / 検索拡張生成)
  9. © LY Corporation ID: myhelpdesk 19 エージェント作成 # 経費精算方法 1.

    経費精算システム(My Expense Report)に アクセスしてください。 2. 以下の項目を入力、添付してください。 - 日付 - 金額 - 領収書
  10. © LY Corporation イントロダクション Step 1: LLM単体利用 Step 2: RAG(検索

    + LLM) Step 3: Function Calling まとめ & Next Step 0 2 1 3 4 21 Step by Step: 生成AIアプリケーション開発入門 Agenda
  11. © LY Corporation 23 Step 3: Function Calling 目的を達成するために、考えて行動してほしい LLM

    明日の15時から17時まで 会議室を予約してください。 参加者は8名です。 以下のツールを利用可能です。 • ReserveMeetingRoom • SubmitExpenseReport • …
  12. © LY Corporation 24 Step 3: Function Calling 目的を達成するために、考えて行動してほしい LLM

    会議室の予約を依頼された。 以下のツールを実行しよう。 Name: ReserveMeetingRoom Argument: tomorrow, 15:00, 17:00, 8
  13. © LY Corporation イントロダクション Step 1: LLM単体利用 Step 2: RAG(検索

    + LLM) Step 3: Function Calling まとめ & Next Step 0 2 1 3 4 27 Step by Step: 生成AIアプリケーション開発入門 Agenda
  14. © LY Corporation Step 1: LLM単体利用 質問に答える Step 2: RAG(検索

    + LLM) 自社情報をもとに答える Step 3: Function Calling 指示を実行する 2 1 3 28 Step by Step: 生成AIアプリケーション開発入門 まとめ
  15. © LY Corporation • AIエージェント: 自律的に目的達成を目指す仕組みの開発 • 「計画 → 実行

    → 観察」を繰り返す(ReAct / Reasoning & Acting) • 複数のアクション・Function Calling、ワークフローを組み合わせて実現する • LLMOps: 出力品質を継続的に評価・改善する仕組みの検討(作って終わりではない) • 回答のばらつき・失敗に備える • 本セッション準備中、AIモデル変更により品質が低下する事例を経験した • ※2025年3月現在、AI Agent Builderではサポートしていない 29 Next Step
  16. © LY Corporation • AI Agent Builderの概要 https://success.outsystems.com/ja- jp/documentation/outsystems_developer_cloud/building_apps/about_ai_agent_builder/ •

    Introduction to function calling https://success.outsystems.com/documentation/outsystems_developer_cloud/building_apps/about_ai_agent_builder/intro duction_to_function_calling/ • Use function calling in AI Agent Builder https://success.outsystems.com/documentation/outsystems_developer_cloud/building_apps/about_ai_agent_builder/intro duction_to_function_calling/use_function_calling_in_ai_agent_builder/ • [OutSystems] とりあえず Reactive なプロジェクトにはこれ導入しておくと良いって規約 https://speakerdeck.com/kata_junn/outsystems-toriaezu-reactive-napuroziekutonihakoredao-ru-siteokutoliang-itutegui- yue 30 AI Agent Builder / Façadeパターン References
  17. © LY Corporation • その仕事、AIエージェントがやっておきました。――ChatGPTの次に来る自律型AI革命 西見公宏 著、技術評論社、2023 • LangChainとLangGraphによるRAG・AIエージェント[実践]入門 西見

    公宏、吉田 真吾、大嶋 勇樹 著、技術評論社、2024 • Amazon Bedrock 生成AIアプリ開発入門 [AWS深掘りガイド] 御田 稔、熊田 寛、森田 和明 著、SBクリエイティブ、2024 • まだ間に合う! 生成AIトレンドおさらい&AWSで内製開発に入門しよう https://speakerdeck.com/minorun365/madajian-nihe-u-sheng-cheng-aitorendo-ju-osarai-and-awsnobedrockniru-men- siyou • AIエージェント入門 https://speakerdeck.com/minorun365/aiezientoru-men 31 生成AIアプリケーション開発 References