Table of Contents

Method ToFile

Namespace
LMKit.Agents.Streaming
Assembly
LM-Kit.NET.dll

ToFile(string, bool)

Creates a handler that writes to a file.

public static TextWriterStreamHandler ToFile(string path, bool append = false)

Parameters

path string

The file path.

append bool

Whether to append to existing file.

Returns

TextWriterStreamHandler

A new text writer stream handler.