---
title: Generative AI Study Group_FirstSesssion_20230606
tags:  #ai #generative ai #artificial intelligence #machine learning #deep learning  
author: [Kunihiro Sugiyama](https://www.docswell.com/user/KunihiroSugiyama)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/LE35RV96J5.jpg?width=480
description: Generative Ai Study Group First Session Presentation material  「生成AI研究会」が「Generative Ai Study Group (GASG)」に名称改定されました。会のテーマプレゼンテーションでは、佐藤氏が「小学生向けチャットAIの仕様作成」について話しました。また、重要な話題として、「プロンプトエンジニアリング」が議論されました。
published: June 21, 23
canonical: https://www.docswell.com/s/KunihiroSugiyama/Z383P8-2023-06-21-132820
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/LE35RV96J5.jpg)

Generative
AI Study
Group


# Page. 2

![Page Image](https://bcdn.docswell.com/page/8EDDY8GMEG.jpg)

Agenda
https://www.ai-tech-c.jp/generative-ai-study-group-gasg/


# Page. 3

![Page Image](https://bcdn.docswell.com/page/V7PX683QE8.jpg)

Agenda
https://www.ai-tech-c.jp/generative-ai-study-group-gasg/


# Page. 4

![Page Image](https://bcdn.docswell.com/page/2JVL3N4P7Q.jpg)

Introduction
•当会名称改定
旧: 生成系AI研究会
新: Generative Ai Study Group (GASG)


# Page. 5

![Page Image](https://bcdn.docswell.com/page/5EGX3K1QJL.jpg)

Introduction
• 運営体制の紹介
• 主催
• 杉山邦洋
• 詳細は本資料末尾記載
• 相方
• 上原将司


# Page. 6

![Page Image](https://bcdn.docswell.com/page/4JQ85NDW7P.jpg)

Introduction
•GASG Policy
• 楽しく
• 面白く
• オープンマインド


# Page. 7

![Page Image](https://bcdn.docswell.com/page/K7429GZ1J1.jpg)

Introduction
•本日の進め方
• アンケート


# Page. 8

![Page Image](https://bcdn.docswell.com/page/LJ1MKDR5EG.jpg)

Introduction
• Logo
①
②
③
④


# Page. 9

![Page Image](https://bcdn.docswell.com/page/GJW3DY1WJ2.jpg)

Introduction
•Web
https://www.ai-tech-c.jp/generative-ai-study-group-gasg


# Page. 10

![Page Image](https://bcdn.docswell.com/page/4EZVGXP2J3.jpg)

Introduction
• テーマ募集
• Panasonic 小森様
①Panasonic調理器の海外戦略担当：英独米での海外駐在含め、30年余り国際競争の最前線
で欧米中韓メーカーと戦って参りました。食ビジネスでの生成AI活用を検討したい。
②立命館大学での講師（国際マーケティング、海外起業）：授業の中で生成AIの展望につ
いて触れたい。
③国際ヨガセラピスト(IAYT)：人生100年時代のQOL向上を目指し、ヨガセラピーの日本
での社会実装を目指しています。ヨガセラピーの指導者育成への活用法を検討したい。


# Page. 11

![Page Image](https://bcdn.docswell.com/page/Y765Y446EV.jpg)

Introduction
• テーマ募集
• SBS情報システム 土屋様
• 生成系AIシステムを業務活用する為の検討
• お客様に問合せ戴く内容を、自動応答するシステムを開発し、特定の業務回答作成
者に偏っている、
• 属人化業務を減らす事で、多くのビジネスメリットが得られる。
• しかし、上手く行かない課題を抽出し、研究テーマを模索したい。


# Page. 12

![Page Image](https://bcdn.docswell.com/page/G75YGQQ574.jpg)

Agenda
https://www.ai-tech-c.jp/generative-ai-study-group-gasg/


# Page. 13

![Page Image](https://bcdn.docswell.com/page/9J2GYPPGJR.jpg)

Theme Presentation
• 盛岡広域振興局経営企画部産業振興室 佐藤様
•
小学生向けチャットＡＩの仕様作成企画


# Page. 14

![Page Image](https://bcdn.docswell.com/page/DEYVG55GEM.jpg)

Agenda
Next
https://www.ai-tech-c.jp/generative-ai-study-group-gasg/


# Page. 15

![Page Image](https://bcdn.docswell.com/page/VJNMGNN878.jpg)

Study contets
• Prompt Engineering
• なぜプロンプトエンジニアリングが重要なのか
• Chat GPTがうまく使えるから...？
• 10%...ぐらいはそうかなと思う
• Chat GPTはあくまでアプリケーションだから...
• Chat GPTはChat GPT以上でも以下でもない (現時点では)
• Text input Text output (Markdown記法を駆使するのはある)
• Browser extention で魔改造されてたりするのはある
• ゴールシークプロンプト


# Page. 16

![Page Image](https://bcdn.docswell.com/page/YE9NWRRXE3.jpg)

Study contets
• Prompt Engineering
• エンジニア観点から重要なプロンプトエンジニアリング


# Page. 17

![Page Image](https://bcdn.docswell.com/page/GE8KNWW97D.jpg)

Study contents
ここのAPIコールが
LLMに完全に依存
Pluginアーキテクチャ
は外部アプリへの組
込リリースが予告さ
れている
ChatGPT with 3rd PT Plugin
Program
この間の制御にプロ
ンプトエンジニアリ
ングが重要になる
Service APIs


# Page. 18

![Page Image](https://bcdn.docswell.com/page/LELZPNNMJR.jpg)

この一体化
つまり適切さと応答
速度がAGIとしての
完成度と同義となる
Study contents
更にこれ自体をLLM
が作るという可能性
の萌芽...
フロントエンド以降
が不可視化すると
AGIのように振る舞
うことになる
そのためにここに全
く新しいアーキテク
チャが適用される可
能性がある


# Page. 19

![Page Image](https://bcdn.docswell.com/page/4JMV4XX6JW.jpg)

Study contents
https://www.microsoft.com/en-us/research/group/autonomous-systems-grouprobotics/articles/chatgpt-for-robotics/


# Page. 20

![Page Image](https://bcdn.docswell.com/page/PJR2WNNNE9.jpg)

Study contents
https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-fordevelopers/
https://smooth-glazer-9cf.notion.site/ChatGPT-Prompt-Engineering-forDevelopers-DeepLearning-AI-a0b0c01af6224878af0fa1f341a5bc95?pvs=4


# Page. 21

![Page Image](https://bcdn.docswell.com/page/PEXDPNN87X.jpg)

Study contents
• LLMとの対話は大まかに以下に分類されることを念頭におく。
• 操作
&quot;要約&quot; &quot;補完&quot; &quot;換言&quot; &quot;抽出&quot; など入力テキストに対しての操作要求と結果応答を期待する。
&quot;~~~ を英訳してください。&quot; &quot;~~~ の文章を要約してください。&quot;
• 創作
LLMに対して、何らかの文章による創作を要求し応答を期待する。
&quot;~~~についての詩を作成してみてください。&quot;
• 知識
LLMが備えている知識に対して問い合わせを行い応答を期待する。
&quot;新型コロナウイルスの特性について教えてください。&quot;
Reference: https://gist.github.com/yoavg/6bff0fecd65950898eba1bb321cfbd81


# Page. 22

![Page Image](https://bcdn.docswell.com/page/3EKXDNNL7D.jpg)

Study contents
• バニラなLLMを直接的に検索用データベースとして期待することは良いアプ
ローチとは言えない。
• LLMを検索と捉えることは、「知識」と「創作」が組み合わされてしまう可能性がある。
• つまり、出力結果に「知識」では補えない部分に「創作」が混ざる。
• 特にユーザが意図しないLLMの「創作」は「ハルシネーション」と呼ばれる。
• 結果、出力に関連するドメインに対して前提知識がないとLLMがハルシネーションしている
かそうではないのかの判断がつかない。
• 検索的に使いたいのであれば、それ相応の手間をかける必要がある。
• というか一般的な検索というのであればBingで十分。


# Page. 23

![Page Image](https://bcdn.docswell.com/page/L735RVV6E5.jpg)

Study contets
• Prompt Engineering
• Langchain framework
• プロンプト操作に便利な様々なファンクションを提供してくれます。
from langchain.prompts import PromptTemplate
from langchain.prompts.chat import (
ChatPromptTemplate,
SystemMessagePromptTemplate,
HumanMessagePromptTemplate,
)


# Page. 24

![Page Image](https://bcdn.docswell.com/page/87DDY88M7G.jpg)

Agenda
https://www.ai-tech-c.jp/generative-ai-study-group-gasg/


# Page. 25

![Page Image](https://bcdn.docswell.com/page/VJPX688Q78.jpg)

Next


# Page. 26

![Page Image](https://bcdn.docswell.com/page/2EVL3NNPJQ.jpg)

Next


# Page. 27

![Page Image](https://bcdn.docswell.com/page/57GX3KKQEL.jpg)

EOF
https://www.linkedin.com/in/kunihiro-sugiyama-49b0372a/
https://www.ai-tech-c.jp/generative-ai-study-group-gasg/


