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; }
|
2023-10-31 03:47:14 +00:00
|
|
|
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
|
|
|
}
|