Public Access
24 lines
602 B
C#
24 lines
602 B
C#
namespace MeetingAssistant.Workflow;
|
|
|
|
public enum WorkflowRulesEditorChatRole
|
|
{
|
|
User,
|
|
Agent
|
|
}
|
|
|
|
public sealed record WorkflowRulesEditorChatMessage(
|
|
WorkflowRulesEditorChatRole Role,
|
|
string Content);
|
|
|
|
public sealed record WorkflowRulesEditorChatResult(
|
|
string Response,
|
|
IReadOnlyList<WorkflowRulesEditorChatMessage> Conversation);
|
|
|
|
public interface IWorkflowRulesEditorChatPipeline
|
|
{
|
|
Task<WorkflowRulesEditorChatResult> SendAsync(
|
|
IReadOnlyList<WorkflowRulesEditorChatMessage> conversation,
|
|
string userMessage,
|
|
CancellationToken cancellationToken);
|
|
}
|