-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddAiSpeechAssistantCommand.cs
More file actions
45 lines (28 loc) · 1.28 KB
/
AddAiSpeechAssistantCommand.cs
File metadata and controls
45 lines (28 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using Mediator.Net.Contracts;
using SmartTalk.Messages.Dto.Agent;
using SmartTalk.Messages.Dto.AiSpeechAssistant;
using SmartTalk.Messages.Enums.Agent;
using SmartTalk.Messages.Enums.AiSpeechAssistant;
using SmartTalk.Messages.Responses;
namespace SmartTalk.Messages.Commands.AiSpeechAssistant;
public class AddAiSpeechAssistantCommand : ICommand
{
public string AssistantName { get; set; }
public string Greetings { get; set; }
public string Json { get; set; }
public List<AiSpeechAssistantChannel> Channels { get; set; }
public Guid? Uuid { get; set; }
public bool IsDisplay { get; set; } = true;
public AiKidVoiceType? VoiceType { get; set; }
public AgentType AgentType { get; set; } = AgentType.Restaurant;
public AgentSourceSystem SourceSystem { get; set; } = AgentSourceSystem.Self;
public string ModelVoice { get; set; }
public string ModelUrl { get; set; }
public string ModelName { get; set; }
public string ModelLanguage { get; set; }
public AiSpeechAssistantMediaType? MediaType { get; set; }
public AiSpeechAssistantProvider ModelProvider { get; set; } = AiSpeechAssistantProvider.OpenAi;
}
public class AddAiSpeechAssistantResponse : SmartTalkResponse<AiSpeechAssistantDto>
{
}