OpenAIRealtimeClient 클래스

정의

IRealtimeClient OpenAI 실시간 API에 대한 값을 나타냅니다.

public ref class OpenAIRealtimeClient sealed : IDisposable, Microsoft::Extensions::AI::IRealtimeClient
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class OpenAIRealtimeClient : IDisposable, Microsoft.Extensions.AI.IRealtimeClient
public sealed class OpenAIRealtimeClient : IDisposable, Microsoft.Extensions.AI.IRealtimeClient
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type OpenAIRealtimeClient = class
    interface IRealtimeClient
    interface IDisposable
type OpenAIRealtimeClient = class
    interface IRealtimeClient
    interface IDisposable
Public NotInheritable Class OpenAIRealtimeClient
Implements IDisposable, IRealtimeClient
상속
OpenAIRealtimeClient
특성
구현

생성자

Name Description
OpenAIRealtimeClient(RealtimeClient, String)

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

OpenAIRealtimeClient(String, String)

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

메서드

Name Description
CreateSessionAsync(RealtimeSessionOptions, CancellationToken)

지정된 옵션을 사용하여 새 실시간 세션을 만듭니다.

Dispose()

관리되지 않는 리소스의 해제, 해제 또는 재설정과 관련된 애플리케이션 정의 작업을 수행합니다.

명시적 인터페이스 구현

Name Description
IRealtimeClient.GetService(Type, Object)

IRealtimeClient 지정된 형식serviceType의 개체를 묻습니다.

확장명 메서드

Name Description
AsBuilder(IRealtimeClient)

내부 클라이언트로 사용하여 RealtimeClientBuilderinnerClient 파일을 만듭니다.

GetRequiredService(IRealtimeClient, Type, Object)

IRealtimeClient 지정된 형식 serviceType 의 개체를 요청하고 사용할 수 없는 경우 예외를 throw합니다.

GetRequiredService<TService>(IRealtimeClient, Object)

형식 IRealtimeClientTService 개체를 요청하고 사용할 수 없는 경우 예외를 throw합니다.

GetService<TService>(IRealtimeClient, Object)

형식IRealtimeClientTService 개체를 묻습니다.

적용 대상