Skip to content

Commit 0016702

Browse files
authored
Fixed a syntax error in the python sample
Having double quotes inside double quotes makes the string terminate after get(" and causes a syntax error. Changed to single quotes. logger.info(f"Session created: {session.get('id')}")
1 parent 9a8c477 commit 0016702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/speech-service/includes/quickstarts/voice-live-api/realtime-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
353353
354354
if event.get("type") == "session.created":
355355
session = event.get("session")
356-
logger.info(f"Session created: {session.get("id")}")
356+
logger.info(f"Session created: {session.get('id')}")
357357
358358
elif event.get("type") == "response.audio.delta":
359359
if event.get("item_id") != last_audio_item_id:

0 commit comments

Comments
 (0)