Search Results for

    Show / Hide Table of Contents

    Interface IAssistantsChatService

    Inherited Members
    IStreamingGenerativeService<ConversationItem[], AssistantsApiEvent, ThreadMessage, IAssistantsOptions>.StreamAsync(ConversationItem[], IAssistantsOptions, CancellationToken)
    IDisposable.Dispose()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public interface IAssistantsChatService : IStreamingChatService<AssistantsApiEvent, ThreadMessage, IAssistantsOptions>, IStreamingChatService, IStreamingGenerativeService<ConversationItem[], AssistantsApiEvent, ThreadMessage, IAssistantsOptions>, IDisposable

    Properties

    | Edit this page View Source

    CurrentAssistant

    Declaration
    Assistant CurrentAssistant { get; }
    Property Value
    Type Description
    Assistant
    | Edit this page View Source

    CurrentRun

    Declaration
    Run CurrentRun { get; set; }
    Property Value
    Type Description
    Run
    | Edit this page View Source

    CurrentThread

    Declaration
    Thread CurrentThread { get; }
    Property Value
    Type Description
    Thread

    Methods

    | Edit this page View Source

    CancelAsync()

    Declaration
    UniTask CancelAsync()
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    ChangeThreadAsync(string, CancellationToken)

    Declaration
    UniTask ChangeThreadAsync(string newThreadId, CancellationToken ct = default)
    Parameters
    Type Name Description
    string newThreadId
    CancellationToken ct
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    GenerateAsync(ConversationItem[], IAssistantsOptions, CancellationToken)

    Declaration
    UniTask<Generated<ThreadMessage>> GenerateAsync(ConversationItem[] input, IAssistantsOptions settings, CancellationToken ct = default)
    Parameters
    Type Name Description
    ConversationItem[] input
    IAssistantsOptions settings
    CancellationToken ct
    Returns
    Type Description
    UniTask<Generated<ThreadMessage>>
    | Edit this page View Source

    InitAsync(string, string, IAssistantsOptions, ILogger, CancellationToken)

    Declaration
    UniTask InitAsync(string threadId, string assistantName, IAssistantsOptions settings, ILogger logger, CancellationToken ct = default)
    Parameters
    Type Name Description
    string threadId
    string assistantName
    IAssistantsOptions settings
    ILogger logger
    CancellationToken ct
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    UpdateAssistantAsync(CancellationToken)

    Declaration
    UniTask UpdateAssistantAsync(CancellationToken ct = default)
    Parameters
    Type Name Description
    CancellationToken ct
    Returns
    Type Description
    UniTask

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.TryDispose(IDisposable)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation