Skip to content

Commit 90d168e

Browse files
icoxfog417Takahiro Kubo
and
Takahiro Kubo
authored
[ユースケースビルダー] サンプル追加 : アンケートの設問・選択肢作成 (#959)
Co-authored-by: Takahiro Kubo <[email protected]>
1 parent 07b5bc3 commit 90d168e

File tree

3 files changed

+123
-0
lines changed

3 files changed

+123
-0
lines changed

packages/web/public/locales/prompts/en.yaml

+44
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,50 @@ useCaseBuilder:
569569
</list>
570570
title: Add explanation to list
571571
name: Content Generation
572+
questionnaire:
573+
description: Create a questionnaire by just inputting the target and the number of questions.
574+
inputExample1:
575+
parameters:
576+
key1: Survey target
577+
key2: Number of questions
578+
key3: Target information
579+
value1: Seminar/Event
580+
value2: '20'
581+
value3: |-
582+
Seminar Title: How to Start an AI App Development Project
583+
Overview: In this session, we will cover business & technical aspects of the AI application development journey, including what to consider before starting app development, introduction of useful AWS services for actual app development, and what to keep in mind after app development is completed.
584+
title: Seminar Survey
585+
inputExample2:
586+
parameters:
587+
key1: Survey target
588+
key2: Number of questions
589+
key3: Target information
590+
value1: Product/Service
591+
value2: '10'
592+
value3: Recently, there has been an increase in users suddenly canceling despite no decrease in usage.
593+
title: Product/Service Improvement Survey
594+
inputExample3:
595+
parameters:
596+
key1: Survey target
597+
key2: Number of questions
598+
key3: Target information
599+
value1: Employee Satisfaction
600+
value2: '20'
601+
value3: Recently, there has been an increase in job-seeking and resignations due to mental health issues, especially among young employees.
602+
title: Work Engagement Survey
603+
promptTemplate: |-
604+
As a global company executive, we want to understand what needs customers and employees have, and how the benefits from our events, services, and company systems meet these needs for continuous improvement. For this purpose, we consider surveys as an effective means to gather data necessary for future decision-making by understanding current evaluations and reasons. While gathering data from surveys and making decisions is a simple action, the accumulation of such actions is a step toward transforming your company to make data-driven decisions, and you need to set an example for everyone planning to create surveys. To create effective surveys, please carefully read the survey target (target), target information (info), and number of questions (count).
605+
<target>
606+
{{select:Survey target:Seminar/Event,Training,Product/Service,Customer Satisfaction,Employee Satisfaction,Market Awareness}}
607+
</target>
608+
<count>
609+
{{select:Number of questions:5,10,15,20}}
610+
</count>
611+
<info>
612+
{{text:Target information}}
613+
</info>
614+
The survey consists of three parts: title, goal, and questions. Write the title as a heading, and for the goal, based on the target and info, write in a way that everyone from other executives to junior staff can clearly understand within one minute what improvements might be needed, what measures could be considered, and what data is needed to determine the certainty of needs and prioritize measures. Create questions and answer choices as many times as specified in count. The number of choices should be minimum 2 values like "Yes, No" and maximum 5. Now, please proceed with creation.
615+
title: Create Survey Questions and Choices
572616
rewrite:
573617
description: Rewrite the input text according to the instructions.
574618
inputExample1:

packages/web/public/locales/prompts/ja.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,50 @@ useCaseBuilder:
560560
</list>
561561
title: 箇条書きに説明をつける
562562
name: コンテンツ生成
563+
questionnaire:
564+
description: セミナーや製品などの対象と設問数を入力するだけでアンケートの作成を行う
565+
inputExample1:
566+
parameters:
567+
key1: アンケートの対象
568+
key2: アンケートの設問数
569+
key3: 対象の情報
570+
value1: セミナー・イベント
571+
value2: '20'
572+
value3: |-
573+
セミナータイトル: AI アプリ開発プロジェクトの始め方
574+
概要 : このセッションでは、アプリ開発を始める前に考えておくべきことから、実際にアプリ開発をする際に便利な AWS サービスの使いどころの紹介、アプリ開発が終わった後も気にすべきことなど、AI 全般のアプリ開発ジャーニーにおけるビジネス&Tech な内容をまとめてご紹介します。
575+
title: セミナーアンケート
576+
inputExample2:
577+
parameters:
578+
key1: アンケートの対象
579+
key2: アンケートの設問数
580+
key3: 対象の情報
581+
value1: 製品・サービス
582+
value2: '10'
583+
value3: 最近、利用量は下がっていないのに突然解約するユーザーが増えている。
584+
title: 製品・サービスの改善点ヒアリング
585+
inputExample3:
586+
parameters:
587+
key1: アンケートの対象
588+
key2: アンケートの設問数
589+
key3: 対象の情報
590+
value1: 従業員満足度
591+
value2: '20'
592+
value3: 最近、特に若手の社員でメンタルヘルスの問題で求職・退職が増えている。
593+
title: 働きがい調査
594+
promptTemplate: |-
595+
会社の執行役員として、顧客及び社員がどんなニーズを持っていて、提供するイベントやサービス、会社制度から得られる効用がどのニーズを満たしているのか知り継続的な改善を行いたいと考えています。そのために、アンケートは現時点での評価と理由を知り今後の意思決定に必要なデータを取るために有効な手段と考えています。アンケートからデータを取り意思決定するのはごくシンプルな行動ですが、こうした行動の積み重ねはあなたの会社がデータ駆動の意思決定ができるよう変わっていくための一歩であり、あなたはアンケートの作成を企画する一人一人に模範を示す必要があります。効果的なアンケートをこれから作成するにあたり、アンケートの対象(target)、対象の情報(info)、設問数(count)をよく読んでください。
596+
<target>
597+
{{select:アンケートの対象:セミナー・イベント,研修,製品・サービス,顧客満足度,従業員満足度,市場認知度}}
598+
</target>
599+
<count>
600+
{{select:アンケートの設問数:5,10,15,20}}
601+
</count>
602+
<info>
603+
{{text:対象の情報}}
604+
</info>
605+
アンケートは、タイトル、ゴール、設問の3つで構成します。タイトルは見出しとして書き、ゴールは、targetとinfoを基にどのような改善が必要な可能性があり、そのためにどのような施策が考えられ、ニーズの確度や施策の優先順位をつけるためにどのようなデータが必要なのかを他の執行役員から年次の低い若手まで全員が明確にかつ1分以内に理解できるよう作文してください。設問と回答選択肢の作成はcountの分だけ繰り返してください。選択肢の数は、「はい、いいえ」などの2値が最小で、最大は5とします。では、作成してください。
606+
title: アンケートの設問・選択肢作成
563607
rewrite:
564608
description: 入力した文章を指示に従って書き換えます。
565609
inputExample1:
@@ -979,3 +1023,4 @@ useCaseBuilder:
9791023
{{text:個人情報を含む文章}}
9801024
</text>
9811025
title: 個人情報削除
1026+

packages/web/src/prompts/useCaseBuilderSamples.tsx

+34
Original file line numberDiff line numberDiff line change
@@ -587,4 +587,38 @@ export const getUseCaseBuilderSamplePrompts = (
587587
icon: <PiFlaskBold />,
588588
color: 'gray',
589589
},
590+
{
591+
category: t('useCaseBuilder.contentGeneration.name', {ns: 'prompts'}),
592+
title: t('useCaseBuilder.contentGeneration.questionnaire.title', {ns: 'prompts'}),
593+
description: t('useCaseBuilder.contentGeneration.questionnaire.description', {ns: 'prompts'}),
594+
promptTemplate: t('useCaseBuilder.contentGeneration.questionnaire.promptTemplate', {ns: 'prompts'}),
595+
inputExamples: [
596+
{
597+
title: t('useCaseBuilder.contentGeneration.questionnaire.inputExample1.title', {ns: 'prompts'}),
598+
examples: {
599+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample1.parameters.key1', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample1.parameters.value1', {ns: 'prompts'}),
600+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample1.parameters.key2', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample1.parameters.value2', {ns: 'prompts'}),
601+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample1.parameters.key3', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample1.parameters.value3', {ns: 'prompts'}),
602+
}
603+
},
604+
{
605+
title: t('useCaseBuilder.contentGeneration.questionnaire.inputExample2.title', {ns: 'prompts'}),
606+
examples: {
607+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample2.parameters.key1', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample2.parameters.value1', {ns: 'prompts'}),
608+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample2.parameters.key2', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample2.parameters.value2', {ns: 'prompts'}),
609+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample2.parameters.key3', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample2.parameters.value3', {ns: 'prompts'}),
610+
}
611+
},
612+
{
613+
title: t('useCaseBuilder.contentGeneration.questionnaire.inputExample3.title', {ns: 'prompts'}),
614+
examples: {
615+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample3.parameters.key1', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample3.parameters.value1', {ns: 'prompts'}),
616+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample3.parameters.key2', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample3.parameters.value2', {ns: 'prompts'}),
617+
[t('useCaseBuilder.contentGeneration.questionnaire.inputExample3.parameters.key3', {ns: 'prompts'})]: t('useCaseBuilder.contentGeneration.questionnaire.inputExample3.parameters.value3', {ns: 'prompts'}),
618+
}
619+
},
620+
],
621+
icon: <PiNotePencilBold />,
622+
color: 'blue',
623+
},
590624
];

0 commit comments

Comments
 (0)