Skip to content

Commit df581d5

Browse files
Merge pull request #7379 from PatrickFarley/speech-rai
rm option arg
2 parents 5abc7f8 + 78d497b commit df581d5

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

articles/ai-services/speech-service/how-to-bring-your-own-model.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,6 @@ Use the [Python SDK quickstart code](/azure/ai-services/speech-service/voice-liv
123123
endpoint=self.endpoint,
124124
credential=self.credential,
125125
model=self.model,
126-
connection_options={
127-
"max_msg_size": 10 * 1024 * 1024,
128-
"heartbeat": 20,
129-
"timeout": 20,
130-
},
131126
query={
132127
"profile": self.byom
133128
} if self.byom else None
@@ -456,11 +451,6 @@ class BasicVoiceAssistant:
456451
endpoint=self.endpoint,
457452
credential=self.credential,
458453
model=self.model,
459-
connection_options={
460-
"max_msg_size": 10 * 1024 * 1024,
461-
"heartbeat": 20,
462-
"timeout": 20,
463-
},
464454
query={
465455
"profile": self.byom
466456
} if self.byom else None

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,6 @@ The sample code in this quickstart uses either Microsoft Entra ID or an API key
430430
endpoint=self.endpoint,
431431
credential=self.credential,
432432
model=self.model,
433-
connection_options={
434-
"max_msg_size": 10 * 1024 * 1024,
435-
"heartbeat": 20,
436-
"timeout": 20,
437-
},
438433
) as connection:
439434
conn = connection
440435
self.connection = conn

0 commit comments

Comments
 (0)