BotSharp/src/Infrastructure/BotSharp.Abstraction/Instructs/IInstructHook.cs

12 lines
340 B
C#
Raw Normal View History

2023-09-08 17:03:49 +00:00
using BotSharp.Abstraction.Instructs.Models;
namespace BotSharp.Abstraction.Instructs;
public interface IInstructHook
{
2023-10-25 15:48:25 +00:00
string SelfId { get; }
Task BeforeCompletion(Agent agent, RoleDialogModel message);
Task AfterCompletion(Agent agent, InstructResult result);
2025-03-04 23:25:35 +00:00
Task OnResponseGenerated(InstructResponseModel response);
2023-09-08 17:03:49 +00:00
}