AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Interface IStreamingTextEventReceiver

    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public interface IStreamingTextEventReceiver

    Methods

    OnReceiveError(string)

    Invoked when text stream is interrupted.

    Declaration
    void OnReceiveError(string errorMessage)
    Parameters
    Type Name Description
    string errorMessage

    OnReceiveText(string)

    Invoked when a partial text is received.

    Declaration
    void OnReceiveText(string delta)
    Parameters
    Type Name Description
    string delta

    OnReceiveTextDone()

    Invoked when the full text is finalized.

    Declaration
    void OnReceiveTextDone()

    OnReceiveTextStart()

    Invoked when the text is received for the first time.

    Declaration
    void OnReceiveTextStart()
    In this article
    Back to top Generated by DocFX