Skip to content

Commit a96922d

Browse files
committed
Be clearer about what "UK Hyrbid" means.
Signed-off-by: Katharine Berry <[email protected]>
1 parent 4fdb8e8 commit a96922d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service/assistant/system_prompt.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ func generateLanguageSentence(ctx context.Context) string {
4747
unitMap := map[string]string{
4848
"imperial": "imperial units",
4949
"metric": "metric units",
50-
"uk": "UK hybrid units",
50+
"uk": "UK hybrid units (temperature in Celsius, wind speed in mph, etc.)",
5151
"both": "both imperial and metric units",
5252
}
5353
units = unitMap[units]
5454
if units != "" {
55-
sentence += "Give measurements in " + units + ". "
55+
sentence += "Give measurements in " + units + ". Always specify the unit for temperature measurements."
5656
}
5757
var language = util.GetLanguageName(query.PreferredLanguageFromContext(ctx))
5858
if language != "" {

0 commit comments

Comments
 (0)