Public Access
Add transcript line workflow rules
PR and Push Build/Test / build-and-test (push) Failing after 13m27s
PR and Push Build/Test / build-and-test (push) Failing after 13m27s
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace MeetingAssistant.Tests;
|
||||
|
||||
internal static class MeetingWorkflowTestRules
|
||||
{
|
||||
public const string MaskedProfanityRedactionYaml =
|
||||
"""
|
||||
rules:
|
||||
- name: redact-masked-profanity
|
||||
on:
|
||||
- transcript_line: {}
|
||||
if:
|
||||
- condition: contains(transcript.line, '*****')
|
||||
- condition: transcript.speaker = 'Guest-1'
|
||||
steps:
|
||||
- uses: set_property
|
||||
property: transcript.line
|
||||
value: '@Model.Transcript.Line.Replace("*****", "[redacted]")'
|
||||
""";
|
||||
}
|
||||
Reference in New Issue
Block a user