DelegatingTextToSpeechClient 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
다른 인스턴스에 대한 호출을 ITextToSpeechClient 통과하는 기본 클래스에 대한 선택적 기본 클래스를 제공합니다.
public ref class DelegatingTextToSpeechClient : IDisposable, Microsoft::Extensions::AI::ITextToSpeechClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public class DelegatingTextToSpeechClient : IDisposable, Microsoft.Extensions.AI.ITextToSpeechClient
public class DelegatingTextToSpeechClient : IDisposable, Microsoft.Extensions.AI.ITextToSpeechClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type DelegatingTextToSpeechClient = class
interface ITextToSpeechClient
interface IDisposable
type DelegatingTextToSpeechClient = class
interface ITextToSpeechClient
interface IDisposable
Public Class DelegatingTextToSpeechClient
Implements IDisposable, ITextToSpeechClient
- 상속
-
DelegatingTextToSpeechClient
- 파생
- 특성
- 구현
설명
기본을 기준으로 어떤 순서로든 연결할 수 있는 클라이언트를 빌드할 때 기본 형식으로 권장됩니다 ITextToSpeechClient. 기본 구현은 단순히 내부 클라이언트 인스턴스에 각 호출을 전달합니다.
생성자
| Name | Description |
|---|---|
| DelegatingTextToSpeechClient(ITextToSpeechClient) |
DelegatingTextToSpeechClient 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| InnerClient |
내부 ITextToSpeechClient를 가져옵니다. |
메서드
| Name | Description |
|---|---|
| Dispose() |
관리되지 않는 리소스의 해제, 해제 또는 재설정과 관련된 애플리케이션 정의 작업을 수행합니다. |
| Dispose(Boolean) |
관리되지 않는 리소스를 해제하는 메커니즘을 제공합니다. |
| GetAudioAsync(String, TextToSpeechOptions, CancellationToken) |
텍스트 콘텐츠를 모델에 보내고 생성된 오디오 음성을 반환합니다. |
| GetService(Type, Object) |
ITextToSpeechClient 지정된 형식 |
| GetStreamingAudioAsync(String, TextToSpeechOptions, CancellationToken) |
텍스트 콘텐츠를 모델에 보내고 생성된 오디오 음성을 다시 스트리밍합니다. |
확장명 메서드
| Name | Description |
|---|---|
| AsBuilder(ITextToSpeechClient) |
내부 클라이언트로 사용하여 TextToSpeechClientBuilder 새 |
| GetService<TService>(ITextToSpeechClient, Object) |
형식ITextToSpeechClient의 |