Search Results for

    Show / Hide Table of Contents

    Delegate ReportmanAgentClient.ProgressEventHandler

    Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.

    Namespace: Reportman.Reporting
    Assembly: Reportman.Reporting.dll
    Syntax
    public delegate void ReportmanAgentClient.ProgressEventHandler(object sender, string actor, string stage, string chunkType, string chunk, int inputTokens, int outputTokens, string progressId, int prefillPercent)
    Parameters
    Type Name Description
    object sender Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    string actor Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    string stage Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    string chunkType Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    string chunk Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    int inputTokens Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    int outputTokens Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    string progressId Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.
    int prefillPercent Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage.

    Constructors

    View Source

    ProgressEventHandler(object, nint)

    Declaration
    public ProgressEventHandler(object @object, nint method)
    Parameters
    Type Name Description
    object object
    nint method

    Methods

    View Source

    BeginInvoke(object, string, string, string, string, int, int, string, int, AsyncCallback, object)

    Declaration
    public virtual IAsyncResult BeginInvoke(object sender, string actor, string stage, string chunkType, string chunk, int inputTokens, int outputTokens, string progressId, int prefillPercent, AsyncCallback callback, object @object)
    Parameters
    Type Name Description
    object sender
    string actor
    string stage
    string chunkType
    string chunk
    int inputTokens
    int outputTokens
    string progressId
    int prefillPercent
    AsyncCallback callback
    object object
    Returns
    Type Description
    IAsyncResult
    View Source

    EndInvoke(IAsyncResult)

    Declaration
    public virtual void EndInvoke(IAsyncResult result)
    Parameters
    Type Name Description
    IAsyncResult result
    View Source

    Invoke(object, string, string, string, string, int, int, string, int)

    Declaration
    public virtual void Invoke(object sender, string actor, string stage, string chunkType, string chunk, int inputTokens, int outputTokens, string progressId, int prefillPercent)
    Parameters
    Type Name Description
    object sender
    string actor
    string stage
    string chunkType
    string chunk
    int inputTokens
    int outputTokens
    string progressId
    int prefillPercent
    • View Source
    In this article
    Back to top Generated by DocFX