Public Access
Add attendee transformation workflows
This commit is contained in:
@@ -7,7 +7,8 @@ public enum MeetingWorkflowEventType
|
||||
Created,
|
||||
StateTransition,
|
||||
SpeakerIdentified,
|
||||
TranscriptLine
|
||||
TranscriptLine,
|
||||
AttendeeAdded
|
||||
}
|
||||
|
||||
public sealed record MeetingWorkflowEvent(
|
||||
@@ -16,7 +17,8 @@ public sealed record MeetingWorkflowEvent(
|
||||
AssistantContextState? FromState = null,
|
||||
AssistantContextState? ToState = null,
|
||||
string? SpeakerName = null,
|
||||
string? TranscriptLineText = null)
|
||||
string? TranscriptLineText = null,
|
||||
string? AttendeeName = null)
|
||||
{
|
||||
public static MeetingWorkflowEvent Created(MeetingSessionArtifacts artifacts)
|
||||
{
|
||||
@@ -49,4 +51,14 @@ public sealed record MeetingWorkflowEvent(
|
||||
SpeakerName: speakerName,
|
||||
TranscriptLineText: line);
|
||||
}
|
||||
|
||||
public static MeetingWorkflowEvent AttendeeAdded(
|
||||
MeetingSessionArtifacts artifacts,
|
||||
string attendeeName)
|
||||
{
|
||||
return new MeetingWorkflowEvent(
|
||||
MeetingWorkflowEventType.AttendeeAdded,
|
||||
artifacts,
|
||||
AttendeeName: attendeeName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user