TextToSpeechResponseUpdate 클래스

정의

에서 단일 스트리밍 응답 청크를 ITextToSpeechClient나타냅니다.

public ref class TextToSpeechResponseUpdate
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class TextToSpeechResponseUpdate
public class TextToSpeechResponseUpdate
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type TextToSpeechResponseUpdate = class
type TextToSpeechResponseUpdate = class
Public Class TextToSpeechResponseUpdate
상속
TextToSpeechResponseUpdate
특성

설명

TextToSpeechResponseUpdate 는 텍스트 음성 변환 생성에 대한 스트리밍 업데이트를 나타내기 때문에 이름이 지정됩니다. 따라서 동일한 요청의 일부인 여러 업데이트에 대해 경쟁 값을 포함하는 것은 잘못된 것으로 간주됩니다. 예를 들어 동일한 요청에 포함된 일부 업데이트에는 값이 있을 수 null 있고 다른 업데이트에는 값null 이 없는 업데이트가 있을 수 있지만 값이 아닌null 업데이트는 모두 동일한 값(예: ResponseId)을 가져야 합니다.

둘 사이의 관계와 TextToSpeechResponseUpdate 둘 사이의 TextToSpeechResponse 양방향 변환을 ToTextToSpeechResponseAsync(IAsyncEnumerable<TextToSpeechResponseUpdate>, CancellationToken)ToTextToSpeechResponseUpdates()가능하게 하는 및 그 안에 명칭이 지정됩니다. 그러나 변환은 약간 손실될 수 있습니다. 예를 들어 여러 업데이트에 모두 다른 RawRepresentation 개체가 있는 반면, 이러한 개체에 대해 하나의 슬롯만 사용할 수 있습니다 RawRepresentation.

생성자

Name Description
TextToSpeechResponseUpdate()

TextToSpeechResponseUpdate 클래스의 새 인스턴스를 초기화합니다.

TextToSpeechResponseUpdate(IList<AIContent>)

TextToSpeechResponseUpdate 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
AdditionalProperties

업데이트에 대한 추가 속성을 가져오거나 설정합니다.

Contents

생성된 콘텐츠 항목을 가져오거나 설정합니다.

Kind

생성된 오디오 음성 업데이트의 종류를 가져오거나 설정합니다.

ModelId

이 업데이트가 포함된 텍스트 음성 변환을 만드는 데 사용되는 모델 ID를 가져오거나 설정합니다.

RawRepresentation

기본 구현에서 생성된 오디오 음성 업데이트의 원시 표현을 가져오거나 설정합니다.

ResponseId

이 업데이트가 일부인 생성된 오디오 음성 응답의 ID를 가져오거나 설정합니다.

적용 대상