mirror of
https://github.com/sudoxreboot/groqd
synced 2026-04-14 11:36:49 +00:00
fix time pronunciation in spoken responses
changed prompt instruction to use natural spoken format for times instead of numeric format, preventing LLM from saying "three thousand thirty-four" instead of "three thirty-four"
This commit is contained in:
parent
97abaabea2
commit
0760f8ca67
2 changed files with 2 additions and 2 deletions
|
|
@ -406,7 +406,7 @@ class GroqdConversationEntity(
|
|||
formatted_time = now.strftime("%-I:%M %p")
|
||||
prompt_parts.append(
|
||||
f"Current local time: {formatted_time}. "
|
||||
"Always express time exactly in this numeric format; do not spell out numbers."
|
||||
"When reading times aloud, use natural spoken format (e.g., 'three thirty-four' not 'three thousand thirty-four')."
|
||||
)
|
||||
|
||||
if options.get(CONF_AUTO_FETCH_URLS, DEFAULT_AUTO_FETCH_URLS):
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"domain": "groqd",
|
||||
"name": "groqd",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"config_flow": true,
|
||||
"documentation": "https://github.com/sudoxreboot/groqd",
|
||||
"issue_tracker": "https://github.com/sudoxreboot/groqd/issues",
|
||||
|
|
|
|||
Loading…
Reference in a new issue