BotSharp/src/Infrastructure/BotSharp.OpenAPI/ViewModels/Instructs/InstructMessageModel.cs

19 lines
530 B
C#
Raw Normal View History

2023-09-07 22:06:41 +00:00
namespace BotSharp.OpenAPI.ViewModels.Instructs;
2023-09-14 01:41:51 +00:00
public class InstructMessageModel : IncomingMessageModel
2023-09-07 22:06:41 +00:00
{
2023-12-15 17:54:44 +00:00
/// <summary>
/// System prompt
/// </summary>
public string? Instruction { get; set; }
2023-11-27 03:04:48 +00:00
public override string Channel { get; set; } = ConversationChannel.OpenAPI;
2023-09-19 18:05:51 +00:00
public string? Template { get; set; }
2023-09-07 22:06:41 +00:00
}
2025-02-21 04:52:02 +00:00
public class IncomingInstructRequest : IncomingMessageModel
{
public string? AgentId { get; set; }
public string? Instruction { get; set; }
2025-03-05 23:22:46 +00:00
public string? Template { get; set; }
2025-02-21 04:52:02 +00:00
}