Update xfyun asr streaming boundary
This commit is contained in:
@@ -170,9 +170,12 @@ default Smart Turn v3 analyzer, so the engine no longer loads the
|
||||
### Xfyun ASR
|
||||
|
||||
The STT provider can be switched to iFlytek/Xfyun's streaming voice dictation
|
||||
WebSocket API. The engine sends PCM chunks as `encoding: "raw"` and emits
|
||||
`input.transcript.interim` events with the current full interim transcript as
|
||||
Xfyun results arrive, followed by the existing `input.transcript.final` event.
|
||||
WebSocket API. The engine opens the xfyun websocket when Pipecat VAD detects
|
||||
the user has started speaking, keeps it open across brief pauses, and closes it
|
||||
only when Pipecat's user-turn strategy declares the logical turn complete. It
|
||||
sends PCM chunks as `encoding: "raw"` and emits `input.transcript.interim`
|
||||
events with the current full interim transcript as Xfyun results arrive,
|
||||
followed by the existing `input.transcript.final` event.
|
||||
|
||||
```json
|
||||
"stt": {
|
||||
|
||||
Reference in New Issue
Block a user