Search Results for

    Show / Hide Table of Contents

    Class ConversationEvent

    Base class for all conversation events.

    Inheritance
    object
    ConversationEvent
    ConversationCreated
    ConversationDeleted
    ConversationItemsLoaded
    ConversationListLoaded
    ConversationLoaded
    ConversationSummaryUpdated
    ConversationTitleUpdated
    Implements
    IEvent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Agents.Conversations
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public abstract class ConversationEvent : IEvent

    Methods

    | Edit this page View Source

    Created(Conversation)

    Creates a new conversation created event.

    Declaration
    public static ConversationEvent Created(Conversation conversation)
    Parameters
    Type Name Description
    Conversation conversation
    Returns
    Type Description
    ConversationEvent
    | Edit this page View Source

    Deleted(string, bool)

    Creates a new conversation deleted event.

    Declaration
    public static ConversationEvent Deleted(string conversationId, bool success)
    Parameters
    Type Name Description
    string conversationId
    bool success
    Returns
    Type Description
    ConversationEvent
    | Edit this page View Source

    ItemsLoaded(string, ConversationItem[])

    Creates a new conversation items loaded event.

    Declaration
    public static ConversationEvent ItemsLoaded(string conversationId, ConversationItem[] items)
    Parameters
    Type Name Description
    string conversationId
    ConversationItem[] items
    Returns
    Type Description
    ConversationEvent
    | Edit this page View Source

    ListLoaded(Conversation[])

    Creates a new conversation list loaded event.

    Declaration
    public static ConversationEvent ListLoaded(Conversation[] conversations)
    Parameters
    Type Name Description
    Conversation[] conversations
    Returns
    Type Description
    ConversationEvent
    | Edit this page View Source

    Loaded(Conversation)

    Creates a new conversation loaded event.

    Declaration
    public static ConversationEvent Loaded(Conversation conversation)
    Parameters
    Type Name Description
    Conversation conversation
    Returns
    Type Description
    ConversationEvent
    | Edit this page View Source

    SummaryUpdated(string, string)

    Creates a new conversation summary updated event.

    Declaration
    public static ConversationEvent SummaryUpdated(string conversationId, string newSummary)
    Parameters
    Type Name Description
    string conversationId
    string newSummary
    Returns
    Type Description
    ConversationEvent
    | Edit this page View Source

    TitleUpdated(string, string)

    Creates a new conversation title updated event.

    Declaration
    public static ConversationEvent TitleUpdated(string conversationId, string newTitle)
    Parameters
    Type Name Description
    string conversationId
    string newTitle
    Returns
    Type Description
    ConversationEvent

    Implements

    IEvent

    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