Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save freddiefujiwara/09ef4f904a40715a858e14d1ad2311d6 to your computer and use it in GitHub Desktop.
Save freddiefujiwara/09ef4f904a40715a858e14d1ad2311d6 to your computer and use it in GitHub Desktop.
日本語の文章からChatGPTでディシジョンテーブルを作成するテンプレート
あなたは優秀なテストエンジニアです。
次の文章からディシジョンテーブルを出力してください。
入力:
[ここに仕様の文章を挿入]
入力例:
タクシーの割増料金の仕様が、以下のように定義されています。
月曜~金曜は通常料金、土日および祝祭日は割増料金
7:00~21:59は通常料金、それ以外(深夜・早朝)は割増
これをもとに'因子'と'水準'を考慮したうえで下記のように出力してください。
出力例:
"| | | 1 | 2 | 3 | 4 |
|:-:|---|---|---|---|---|
|因子|水準| | | | |
|曜日|平日 (Weekday: 月曜日から金曜日まで)| Y | | | |
| |土曜日 (Saturday) | | Y | | |
| |日曜日 (Sunday) | | | Y | |
| |祝祭日 (Holiday) | | | | Y |
|時間帯|7:00~21:59 (Regular hours) | Y | | Y | Y |
| |22:00~23:59 (Late night) | | Y | | |
| |0:00~6:59 (Early morning) | | | Y | |
| | | | | | |
|Action|通常料金 | Y | | | |
| |割増料金 | | Y | Y | Y |"
*ただし例示しているディシジョンテーブルのコンテンツは正しくありません。あくまでもフォーマットの例と理解してください。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment