Table of Contents

Property Content

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

Content

Gets the final text content produced by the agent.

public string Content { get; }

Property Value

string

Examples

Accessing the response content:

using LMKit.Model;
using LMKit.Agents;

using var model = new LM("path/to/model.gguf");
var agent = new Agent(model);

var result = agent.Run("Explain recursion in one sentence.");

if (!string.IsNullOrEmpty(result.Content))
{
    Console.WriteLine(result.Content);
}

Remarks

This is the primary output intended for the user or downstream processing. May be null if execution failed before producing output.