Table of Contents

Class AgentDefinition.HandoffSettings

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

Whether an agent may hand a conversation over to a person, and where the host delivers the hand-off: the portable form of WithHumanHandoff().

public sealed class AgentDefinition.HandoffSettings
Inheritance
AgentDefinition.HandoffSettings
Inherited Members

Examples

definition.Handoff = new AgentDefinition.HandoffSettings
{
    Enabled = true,
    Destination = "helpdesk/create_ticket",
};

Remarks

Destination is a reference the host resolves: on an LM-Kit server, an https:// endpoint that receives the hand-off as JSON, or a connector tool named connector/tool. Empty records the hand-off without delivering it anywhere. A reference is an address, never a credential.

Properties

Destination

Gets or sets where the host delivers a hand-off; empty records it only.

Enabled

Gets or sets whether the agent gets the hand-off tool.

Methods

Clone()

A copy of these settings.

Share