Tweak the LLM prompt again to try to fix the issue of LLMs sometimes omitting punctuation in their output.

This commit is contained in:
Paul Kompfner
2025-11-13 09:56:03 -05:00
parent 1802f949ef
commit 8851d18f92
118 changed files with 121 additions and 120 deletions

View File

@@ -120,7 +120,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
messages = [
{
"role": "system",
"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.",
"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 spoken aloud, so avoid special characters that can't easily be spoken, such as emojis or bullet points. Respond to what the user said in a creative and helpful way.",
},
]