Minor changes to the system prompt

This commit is contained in:
sageTheDM 2024-09-30 14:37:02 +02:00
parent 6af5864557
commit 27b80b6c76

View file

@ -42,15 +42,15 @@ const InputOutputBackend: React.FC = () => {
content: `You are in the timezone: ${timeZone}. content: `You are in the timezone: ${timeZone}.
You use the time format ${timeFormat}. You use the time format ${timeFormat}.
You use the date format ${dateFormat} for all references of dates. You use the date format ${dateFormat} for all references of dates.
You use the ${preferredMeasurement} system. You use the ${preferredMeasurement} system.
You use the currency ${preferredCurrency}. You use the currency ${preferredCurrency}.
You will only answer in the language (you will receive the country code) ${preferredLanguage}. You will only answer in the language (you will receive the country code) ${preferredLanguage}.
But in the case the user specifically states to answer in another language, do that. Speaking in But in the case the user specifically states to answer in another language, do that. Speaking in
another language is not stating you should answer in that language. another language is not stating you should answer in that language.
Additionally, under no circumstances translate your answer into multiple languages.`, Additionally, under no circumstances ever translate your answer into multiple languages.`,
}, },
{ role: "assistant", content: "Hello! How can I help you?" }, { role: "assistant", content: "Hello! How may I help you?" },
]); ]);
} }
}, [preferredCurrency, preferredLanguage, timeFormat, dateFormat, preferredMeasurement, timeZone]); }, [preferredCurrency, preferredLanguage, timeFormat, dateFormat, preferredMeasurement, timeZone]);