Search Results for

    Show / Hide Table of Contents

    Class AssistantsApiVisitor

    Inheritance
    object
    AssistantsApiVisitor
    Implements
    IStreamVisitor<AssistantsApiEvent, Generated<ThreadMessage>>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Agents
    Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
    Syntax
    public sealed class AssistantsApiVisitor : IStreamVisitor<AssistantsApiEvent, Generated<ThreadMessage>>

    Constructors

    | Edit this page View Source

    AssistantsApiVisitor(IChatApiStreamHandler)

    Declaration
    public AssistantsApiVisitor(IChatApiStreamHandler eventHandler)
    Parameters
    Type Name Description
    IChatApiStreamHandler eventHandler

    Methods

    | Edit this page View Source

    OnComplete(Generated<ThreadMessage>)

    Declaration
    public void OnComplete(Generated<ThreadMessage> result)
    Parameters
    Type Name Description
    Generated<ThreadMessage> result
    | Edit this page View Source

    OnDelta(AssistantsApiEvent)

    Declaration
    public void OnDelta(AssistantsApiEvent delta)
    Parameters
    Type Name Description
    AssistantsApiEvent delta
    | Edit this page View Source

    OnError(Exception)

    Declaration
    public void OnError(Exception error)
    Parameters
    Type Name Description
    Exception error

    Implements

    IStreamVisitor<TDelta, TResult>

    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.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation