Fix an issue with some examples where punctuation was missing from the LLM output, by tweaking the LLM prompt.

This commit is contained in:
Paul Kompfner
2025-11-12 17:12:03 -05:00
parent 1ad6405ebb
commit 1802f949ef
114 changed files with 115 additions and 115 deletions

View File

@@ -77,7 +77,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
messages = [
{
"role": "user",
"content": "You are a helpful LLM in a WebRTC call. Your goal is to demonstrate your capabilities in a succinct way. Your output will be converted to audio so don't include special characters in your answers. Respond to what the user said in a creative and helpful way, but try to be brief.",
"content": "You are a helpful LLM in a WebRTC call. Your goal is to demonstrate your capabilities in a succinct way. Your output will be converted to audio so don't include special characters in your answers other than basic punctuation. Respond to what the user said in a creative and helpful way, but try to be brief.",
},
]