2024-07-28 09:20:00 +00:00
|
|
|
namespace AIStudio.Settings.DataModel;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The data model for the settings file.
|
|
|
|
/// </summary>
|
|
|
|
public sealed class Data
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The version of the settings file. Allows us to upgrade the settings
|
|
|
|
/// when a new version is available.
|
|
|
|
/// </summary>
|
2024-09-13 21:29:19 +00:00
|
|
|
public Version Version { get; init; } = Version.V5;
|
2024-07-28 09:20:00 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// List of configured providers.
|
|
|
|
/// </summary>
|
|
|
|
public List<Provider> Providers { get; init; } = [];
|
2024-09-08 19:01:51 +00:00
|
|
|
|
2024-09-11 21:08:02 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Settings concerning the LLM providers.
|
|
|
|
/// </summary>
|
|
|
|
public DataLLMProviders LLMProviders { get; init; } = new();
|
2024-12-03 14:24:40 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A collection of embedding providers configured.
|
|
|
|
/// </summary>
|
|
|
|
public List<EmbeddingProvider> EmbeddingProviders { get; init; } = [];
|
2024-09-11 21:08:02 +00:00
|
|
|
|
2024-09-08 19:01:51 +00:00
|
|
|
/// <summary>
|
|
|
|
/// List of configured profiles.
|
|
|
|
/// </summary>
|
|
|
|
public List<Profile> Profiles { get; init; } = [];
|
2024-07-28 09:20:00 +00:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The next provider number to use.
|
|
|
|
/// </summary>
|
|
|
|
public uint NextProviderNum { get; set; } = 1;
|
|
|
|
|
2024-12-03 14:24:40 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The next embedding number to use.
|
|
|
|
/// </summary>
|
|
|
|
public uint NextEmbeddingNum { get; set; } = 1;
|
|
|
|
|
2024-09-08 19:01:51 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The next profile number to use.
|
|
|
|
/// </summary>
|
|
|
|
public uint NextProfileNum { get; set; } = 1;
|
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataApp App { get; init; } = new();
|
2024-07-28 09:20:00 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataChat Chat { get; init; } = new();
|
2024-07-28 09:20:00 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataWorkspace Workspace { get; init; } = new();
|
2024-07-28 09:20:00 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataIconFinder IconFinder { get; init; } = new();
|
2024-07-28 09:20:00 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataTranslation Translation { get; init; } = new();
|
2024-07-28 09:20:00 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataCoding Coding { get; init; } = new();
|
2024-08-01 19:53:28 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataTextSummarizer TextSummarizer { get; init; } = new();
|
2024-08-01 19:53:28 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataTextContentCleaner TextContentCleaner { get; init; } = new();
|
2024-08-01 19:53:28 +00:00
|
|
|
|
2024-08-05 19:12:52 +00:00
|
|
|
public DataAgenda Agenda { get; init; } = new();
|
2024-08-13 18:53:09 +00:00
|
|
|
|
|
|
|
public DataGrammarSpelling GrammarSpelling { get; init; } = new();
|
|
|
|
|
|
|
|
public DataRewriteImprove RewriteImprove { get; init; } = new();
|
2024-08-22 13:41:35 +00:00
|
|
|
|
2024-09-15 19:14:56 +00:00
|
|
|
public DataEMail EMail { get; init; } = new();
|
2024-08-23 19:47:07 +00:00
|
|
|
|
2024-09-15 19:14:56 +00:00
|
|
|
public DataLegalCheck LegalCheck { get; init; } = new();
|
2024-09-06 20:02:20 +00:00
|
|
|
|
2024-09-15 19:14:56 +00:00
|
|
|
public DataSynonyms Synonyms { get; init; } = new();
|
2024-09-09 13:08:16 +00:00
|
|
|
|
2024-09-15 19:14:56 +00:00
|
|
|
public DataMyTasks MyTasks { get; init; } = new();
|
|
|
|
|
|
|
|
public DataJobPostings JobPostings { get; init; } = new();
|
2024-10-28 14:41:00 +00:00
|
|
|
|
|
|
|
public DataBiasOfTheDay BiasOfTheDay { get; init; } = new();
|
2024-07-28 09:20:00 +00:00
|
|
|
}
|