feat: add FAQ uncovered workflow
This commit is contained in:
@@ -99,14 +99,14 @@ func (b *blockingNotifier) Send(ctx context.Context, notif SupportNotification)
|
||||
func makePendingCase(id string, attempts int) PendingSupportCase {
|
||||
return PendingSupportCase{
|
||||
SupportNotification: SupportNotification{
|
||||
CaseID: id,
|
||||
Question: "test question " + id,
|
||||
Answer: "test answer " + id,
|
||||
SenderName: "Sender " + id,
|
||||
Channel: "dingtalk",
|
||||
ConversationType: core.ConversationGroup,
|
||||
ReferenceCount: 1,
|
||||
TopScore: 0.5,
|
||||
CaseID: id,
|
||||
Question: "test question " + id,
|
||||
SenderName: "Sender " + id,
|
||||
Channel: "dingtalk",
|
||||
ConversationType: core.ConversationGroup,
|
||||
AskedAt: time.Unix(1, 0),
|
||||
PreviousQuestions: []string{"previous question"},
|
||||
FAQRecordID: "record-" + id,
|
||||
},
|
||||
Attempts: attempts,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user