-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathMaINSettings.cs
More file actions
36 lines (33 loc) · 1.07 KB
/
MaINSettings.cs
File metadata and controls
36 lines (33 loc) · 1.07 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
using MaIN.Domain.Configuration.Vertex;
namespace MaIN.Domain.Configuration;
public class MaINSettings
{
public BackendType BackendType { get; set; } = BackendType.Self;
public string? ModelsPath { get; set; }
public string? ImageGenUrl { get; set; }
public string? OpenAiKey { get; set; }
public string? GeminiKey { get; set; }
public string? DeepSeekKey { get; set; }
public string? AnthropicKey { get; set; }
public string? GroqCloudKey { get; set; }
public string? OllamaKey { get; set; }
public string? XaiKey { get; set; }
public MongoDbSettings? MongoDbSettings { get; set; }
public FileSystemSettings? FileSystemSettings { get; set; }
public SqliteSettings? SqliteSettings { get; set; }
public SqlSettings? SqlSettings { get; set; }
public string? VoicesPath { get; set; }
public GoogleServiceAccountConfig? GoogleServiceAccountAuth { get; set; }
}
public enum BackendType
{
Self = 0,
OpenAi = 1,
Gemini = 2,
DeepSeek = 3,
GroqCloud = 4,
Anthropic = 5,
Xai = 6,
Ollama = 7,
Vertex = 8,
}