AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class StreamingTextEventReceiver

    Inheritance
    object
    StreamingTextEventReceiver
    Implements
    IStreamingTextEventReceiver
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    public class StreamingTextEventReceiver : MonoBehaviour, IStreamingTextEventReceiver

    Methods

    OnReceiveError(string)

    Invoked when text stream is interrupted.

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

    OnReceiveText(string)

    Invoked when a partial text is received.

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

    OnReceiveTextDone()

    Invoked when the full text is finalized.

    Declaration
    public void OnReceiveTextDone()

    OnReceiveTextStart()

    Invoked when the text is received for the first time.

    Declaration
    public void OnReceiveTextStart()

    Implements

    IStreamingTextEventReceiver
    In this article
    Back to top Generated by DocFX