SlideShare a Scribd company logo
1 of 3
Download to read offline
「地域づくりをどうするか」を図表示させるプロンプトの作成実験
GASG 2023.8.1 佐藤清忠
小学校5年生の社会科で人口減地域の行政の運営方法を授業します。説明内容は人口減と高齢化と税収減を原因として、行政サービ
スの低下、医療サービスの低下があり、また残留した高齢者による農業などの仕事づくり、新たに観光事業を計画しています。この説明
の流れに適した日本語による原因と結果をグラフで示す図をDOT言語で描きたいです。そのDOT言語を教えてください。
質問の答え
・・・・・・・・・・・
・・・・・・・・・・・
DOT言語コード
質問作成
・・・・・・・・・・・
・・・・・・・・・・・
現実社会との比較評価
同じ質問でも
毎回の作図
内容が違う
プロンプト作成
ChatGPT3.5
Graphviz
で作図
いい形になる
まで繰り返す
回答の一部にDOTコードが表示される
① 思い付きでChatGPTに入力しDOT言語で作図した例
digraph PopulationDecline {
// ノードの設定
node [shape=box];
// 原因のグループ
subgraph cluster_causes {
label = "原因";
// color = lightblue;
人口減 -> 行政サービスの低下 [label="影響"];
人口減 -> 医療サービスの低下 [label="影響"];
人口減 -> 農業づくり [label="残留者"];
高齢化 -> 農業づくり [label="残留者"];
税収減 -> 観光事業 [label="新たな産業"];
}
// 行政サービスの低下の結果
行政サービスの低下 -> 行政サービス [label="低下"];
// 医療サービスの低下の結果
医療サービスの低下 -> 医療サービス [label="低下"];
// 農業づくりの結果
農業づくり -> 農業 [label="振興"];
// 観光事業の結果
税収減 -> 観光事業 [label="振興"];
}
ChatGPTが出力したDOT言語による作図例と修正作業 GASG 2023.8.1 佐藤清忠
ChatGPTは質問文の意味を推測し、質問文にあった原因と結果の2グループにグループ化します。その推測結果から何
かしらの図表示用のスクリプトを生成します。DOT言語は矢印で原因と結果の関係構築をします。
ただしWindowsでは日本語は使えず、Jetson(Ubuntu18.04)を使いました。またLinuxではcolor指定が使えず下のようにコメ
ントアウトしました。
経験では、望んだ関係図が提示されることはなく、
何度か再生成して最も望む姿の図を得ることになり
ます。また右のコードの一部を修正して過不足を調
整することもありました。
なおGraphvizは一般的ではなく図描画するだけなら
EXCELで図形描画するようChatGPTに指示すればよ
く、VBAプログラムも自動作成できます。
ChatGPT3.5による
DOT言語提示例
右のDOT言語をGraphvizで作図した例
処理系によってはエラーになる
作図を含む作業結果を学習評価に使う場合
GASG 2023.8.1 佐藤清忠
LLMをリンクした構造図の作成体験でピアジェやヴィゴツキーの学習理論を連想しました。LLMは仮想的な社会であり評価の
場面ステークフォルダーの関与があるなら、社会構成主義の学習の形になっていると考えました。
質問の答え
・・・・・・・・・・・
・・・・・・・・・・・
DOT言語コードなど
質問作成
・・・・・・・・・・・
・・・・・・・・・・・
イメージを文章に
写像できること
着目した要素が望む構
造になるまで繰り返す
図の意味の評価
学習者
多様なLLMの選択
ステークフォルダによ
る評価
学習者のレベルに適し
たLLMやプラグインの選
択も可能とする
仮説推論に従った文章
内容が評価の対象
質問から関係図までの変
換は一定形式で再現できる
ことが望ましい
社会的な
関係要素

More Related Content

Recently uploaded

Recently uploaded (8)

2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
2024年5月17日 先駆的科学計算フォーラム2024 機械学習を用いた新たなゲーム体験の創出の応用
 
MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
MPAなWebフレームワーク、Astroの紹介 (その1) 2024/05/17の勉強会で発表されたものです。
 
情報を表現するときのポイント
情報を表現するときのポイント情報を表現するときのポイント
情報を表現するときのポイント
 
Keywordmap overview material/CINC.co.ltd
Keywordmap overview material/CINC.co.ltdKeywordmap overview material/CINC.co.ltd
Keywordmap overview material/CINC.co.ltd
 
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
Hyperledger Fabricコミュニティ活動体験& Hyperledger Fabric最新状況ご紹介
 
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアルLoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
LoRaWAN無位置ロープ式水漏れセンサーWL03A 日本語マニュアル
 
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdfネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
ネットワーク可視化 振る舞い検知(NDR)ご紹介_キンドリル202405.pdf
 
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイルLoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
LoRaWAN無位置ロープ型水漏れセンサー WL03A-LB/LSカタログ ファイル
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

GASG0801sato.pdf