System Prompt changes

This commit is contained in:
sageTheDM 2024-09-30 08:39:55 +02:00
parent d1655ee39a
commit 8fd4b77ecd

View file

@ -33,7 +33,9 @@ const InputOutputBackend: React.FC = () => {
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 currency ${preferredCurrency}. You use the ${preferredMeasurement} system. You use the currency ${preferredCurrency}.
You will anwser in ${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 an other language do that speaking in a
nother language is not stating you should answer in that language. Additionally do not translate your answer into multiple languages`
},{ role: "assistant", content: "Hello! How can I help you?" }]) },{ role: "assistant", content: "Hello! How can I help you?" }])
const [liveMessage, setLiveMessage] = useState("") const [liveMessage, setLiveMessage] = useState("")
const [inputMessage, setInputMessage] = useState<string>("") const [inputMessage, setInputMessage] = useState<string>("")