확장 스트리밍 기능을 사용하여 Dialogflow로 오디오 콘텐츠를 스트리밍하고 상담사의 추천을 다시 스트리밍할 수 있습니다.
일반적으로 최종 스크립트와 상담사 지원 추천을 생성하기 위해 스트림을 반쯤 닫거나 Dialogflow API에 스트림을 종료할 시점을 알려줍니다. 이는 대화 전환 시 API가 인식 결과 StreamingAnalyzeContentResponse.recognition_result에서 매개변수 is_final=true를 수신하는 시점에 발생합니다.
연장된 스트리밍을 사용하면 대화 차례에서 절반으로 닫을 필요가 줄어듭니다. 연결 시간 제한을 3분으로 연장하여 이 시간 동안 절반 닫지 않고 오디오 스트림을 전송할 수 있습니다. Dialogflow API는 최종 스크립트와 Agent Assist 추천을 자동으로 스트림으로 다시 전송합니다. 스트림이 시간 초과된 경우에만 다시 시작합니다.
스트리밍 기본사항
Agent Assist 확장 스트리밍 기능은 CCAI 스크립트 작성을 위한 오디오 스트리밍과 유사합니다. 시스템은 오디오 데이터를 API로 스트리밍하고 Dialogflow는 StreamingAnalyzeContentResponse 데이터를 다시 스트리밍합니다. 반환된 데이터에는 상담사를 위한 추천이 포함됩니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-05-16(UTC)"],[[["Extended Streaming allows streaming audio content to Dialogflow and receiving human agent suggestions in return, similar to audio streaming for CCAI Transcription."],["This feature, available \"as is\" and with potentially limited support under the Pre-GA Offerings Terms, is accessible via the `streamingAnalyzeContent` method in the RPC API and client libraries."],["To initiate Extended Streaming, users must set `enable_extended_streaming` to `true` and provide appropriate audio configurations (`AUDIO_ENCODING_LINEAR_16` or `AUDIO_ENCODING_MULAW`)."],["The stream remains active as long as audio data is sent, automatically closing when utterances stop, and it will automatically timeout after 3 minutes of activity."],["Users should restart the stream if it breaks unexpectedly, if approaching the three-minute timeout, or after receiving a re-tryable error (up to three retries are allowed)."]]],[]]