Table of Contents

Interface IStreamingAgent

Namespace
AutoGen.Core
Assembly
AutoGen.Core.dll

agent that supports streaming reply

public interface IStreamingAgent : IAgent, IAgentMetaInformation
Inherited Members
Extension Methods

Methods

GenerateStreamingReplyAsync(IEnumerable<IMessage>, GenerateReplyOptions?, CancellationToken)

IAsyncEnumerable<IMessage> GenerateStreamingReplyAsync(IEnumerable<IMessage> messages, GenerateReplyOptions? options = null, CancellationToken cancellationToken = default)

Parameters

messages IEnumerable<IMessage>
options GenerateReplyOptions
cancellationToken CancellationToken

Returns

IAsyncEnumerable<IMessage>