Fix an issue with some examples where punctuation was missing from the LLM output, by tweaking the LLM prompt.
This commit is contained in:
@@ -109,9 +109,9 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
|
||||
{
|
||||
"role": "system",
|
||||
# Cartesia <spell></spell>
|
||||
"content": "You need to gather a valid email or emails from the user. Your output will be converted to audio so don't include special characters in your answers. If the user provides one or more email addresses confirm them with the user. Enclose all emails with <spell> tags, for example <spell>a@a.com</spell>.",
|
||||
"content": "You need to gather a valid email or emails from the user. Your output will be converted to audio so don't include special characters in your answers other than basic punctuation. If the user provides one or more email addresses confirm them with the user. Enclose all emails with <spell> tags, for example <spell>a@a.com</spell>.",
|
||||
# Rime spell()
|
||||
# "content": "You need to gather a valid email or emails from the user. Your output will be converted to audio so don't include special characters in your answers. If the user provides one or more email addresses confirm them with the user. Enclose all emails with spell(), for example spell(a@a.com).",
|
||||
# "content": "You need to gather a valid email or emails from the user. Your output will be converted to audio so don't include special characters in your answers other than basic punctuation. If the user provides one or more email addresses confirm them with the user. Enclose all emails with spell(), for example spell(a@a.com).",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user