「OpenAI GPT に相談」の版間の差分
| 670行目: | 670行目: | ||
if (isTemplate) { | if (isTemplate) { | ||
let instructionText = doc.Tag[SELECTED_TEMPLATE_PROMPT_TAG]; | let instructionText = doc.Tag[SELECTED_TEMPLATE_PROMPT_TAG]; | ||
promptText = ` | promptText = ` | ||
< | 以下の <prompt_set> 内の <instructions> の指示に従って、 <context> を処理してください。 | ||
<prompt_set> | |||
<instructions> | |||
${instructionText} | ${instructionText} | ||
</ | </instructions> | ||
< | |||
<context> | |||
${promptText} | ${promptText} | ||
</ | </context> | ||
</prompt_set> | |||
`.trim(); | `.trim(); | ||
} | } | ||
スポンサーリンク