mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 00:24:35 +00:00
Renamed the settings of AI tasks (#1239)
This commit is contained in:
1 parent
d19d3d431b
commit
a117074972
109 files changed
+3929
-538
No files matched your search
@@ -11,7 +11,7 @@ public sealed class Data
|
||||
/// The version of the settings file. Allows us to upgrade the settings
|
||||
/// when a new version is available.
|
||||
/// </summary>
|
||||
public Version Version { get; set; } = Version.V6;
|
||||
public Version Version { get; set; } = Version.V7;
|
||||
|
||||
/// <summary>
|
||||
/// List of configured providers.
|
||||
@@ -195,9 +195,9 @@ public sealed class Data
|
||||
|
||||
public DataTextContentCleaner TextContentCleaner { get; set; } = new(x => x.TextContentCleaner);
|
||||
|
||||
public DataAgentDataSourceSelection AgentDataSourceSelection { get; set; } = new(x => x.AgentDataSourceSelection);
|
||||
public DataDataSourceSelection DataSourceSelection { get; set; } = new(x => x.DataSourceSelection);
|
||||
|
||||
public DataAgentRetrievalContextValidation AgentRetrievalContextValidation { get; set; } = new(x => x.AgentRetrievalContextValidation);
|
||||
public DataRetrievalContextValidation RetrievalContextValidation { get; set; } = new(x => x.RetrievalContextValidation);
|
||||
|
||||
public DataAssistantPluginAudit AssistantPluginAudit { get; set; } = new(x => x.AssistantPluginAudit);
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ public sealed class DataAssistantPluginAudit(Expression<Func<Data, DataAssistant
|
||||
/// Which provider should be used for the assistant plugin audit?
|
||||
/// When empty, the app-wide default provider is used.
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
public string PreselectedProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which audits the plugins.
|
||||
|
||||
+5
-5
@@ -4,30 +4,30 @@ using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public sealed class DataAgentDataSourceSelection(Expression<Func<Data, DataAgentDataSourceSelection>>? configSelection = null)
|
||||
public sealed class DataDataSourceSelection(Expression<Func<Data, DataDataSourceSelection>>? configSelection = null)
|
||||
{
|
||||
/// <summary>
|
||||
/// The default constructor for the JSON deserializer.
|
||||
/// </summary>
|
||||
public DataAgentDataSourceSelection() : this(null)
|
||||
public DataDataSourceSelection() : this(null)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any data source selection options?
|
||||
/// </summary>
|
||||
public bool PreselectAgentOptions { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectAgentOptions, false);
|
||||
public bool PreselectOptions { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectOptions, false);
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a data source selection provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
public string PreselectedProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which selects the data sources.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies only while PreselectAgentOptions is on, and then to every provider which selects them, the fallbacks included.
|
||||
/// It applies only while PreselectOptions is on, and then to every provider which selects them, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
}
|
||||
@@ -22,7 +22,7 @@ public class DataLegalCheck
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
public bool PreselectContentCleaner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level required for a provider to be considered.
|
||||
|
||||
+5
-5
@@ -4,12 +4,12 @@ using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public sealed class DataAgentRetrievalContextValidation(Expression<Func<Data, DataAgentRetrievalContextValidation>>? configSelection = null)
|
||||
public sealed class DataRetrievalContextValidation(Expression<Func<Data, DataRetrievalContextValidation>>? configSelection = null)
|
||||
{
|
||||
/// <summary>
|
||||
/// The default constructor for the JSON deserializer.
|
||||
/// </summary>
|
||||
public DataAgentRetrievalContextValidation() : this(null)
|
||||
public DataRetrievalContextValidation() : this(null)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -21,18 +21,18 @@ public sealed class DataAgentRetrievalContextValidation(Expression<Func<Data, Da
|
||||
/// <summary>
|
||||
/// Preselect any retrieval context validation options?
|
||||
/// </summary>
|
||||
public bool PreselectAgentOptions { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectAgentOptions, false);
|
||||
public bool PreselectOptions { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectOptions, false);
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a retrieval context validation provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
public string PreselectedProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which validates the retrieval contexts.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies only while PreselectAgentOptions is on, and then to every provider which validates them, the fallbacks included.
|
||||
/// It applies only while PreselectOptions is on, and then to every provider which validates them, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
|
||||
@@ -22,7 +22,7 @@ public sealed class DataSWOTAnalysis
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
public bool PreselectContentCleaner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the target language?
|
||||
|
||||
@@ -16,18 +16,18 @@ public sealed class DataTextContentCleaner(Expression<Func<Data, DataTextContent
|
||||
/// <summary>
|
||||
/// Preselect any text content cleaner options?
|
||||
/// </summary>
|
||||
public bool PreselectAgentOptions { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectAgentOptions, false);
|
||||
public bool PreselectOptions { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectOptions, false);
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a text content cleaner provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
public string PreselectedProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which cleans the text content.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies only while PreselectAgentOptions is on, and then to every provider which cleans it, the fallbacks included.
|
||||
/// It applies only while PreselectOptions is on, and then to every provider which cleans it, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
}
|
||||
@@ -24,7 +24,7 @@ public sealed class DataTextSummarizer
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
public bool PreselectContentCleaner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the target language?
|
||||
|
||||
@@ -32,7 +32,7 @@ public sealed class DataTranslation
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
public bool PreselectContentCleaner { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the target language?
|
||||
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the data source selection, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataAgentDataSourceSelectionV6
|
||||
{
|
||||
/// <summary>
|
||||
/// Preselect any data source selection options?
|
||||
/// </summary>
|
||||
public bool PreselectAgentOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a data source selection provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which selects the data sources.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the retrieval context validation, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataAgentRetrievalContextValidationV6
|
||||
{
|
||||
/// <summary>
|
||||
/// Enable the retrieval context validation?
|
||||
/// </summary>
|
||||
public bool EnableRetrievalContextValidation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any retrieval context validation options?
|
||||
/// </summary>
|
||||
public bool PreselectAgentOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a retrieval context validation provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which validates the retrieval contexts.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// Configure how many parallel validations to run.
|
||||
/// </summary>
|
||||
public int NumParallelValidations { get; set; } = 3;
|
||||
}
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings for auditing assistant plugins, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataAssistantPluginAuditV6
|
||||
{
|
||||
/// <summary>
|
||||
/// Should assistant plugins be audited before they can be activated?
|
||||
/// </summary>
|
||||
public bool RequireAuditBeforeActivation { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Which provider should be used for the assistant plugin audit?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which audits the plugins.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum audit level assistant plugins should meet.
|
||||
/// </summary>
|
||||
public PluginAuditLevel MinimumLevel { get; set; } = PluginAuditLevel.CAUTION;
|
||||
|
||||
/// <summary>
|
||||
/// Should activation be blocked when the audit result is below the minimum level?
|
||||
/// </summary>
|
||||
public bool BlockActivationBelowMinimum { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// If true, the security audit will be hidden from the user and done in the background.
|
||||
/// </summary>
|
||||
public bool AutomaticallyAuditAssistants { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Enterprise-managed assistant plugin hashes that are approved without requiring a user audit.
|
||||
/// </summary>
|
||||
public IList<DataAssistantPluginEnterpriseApproval> EnterpriseApprovedPlugins { get; set; } = [];
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the legal check assistant, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataLegalCheckV6
|
||||
{
|
||||
/// <summary>
|
||||
/// Do you want to preselect any legal check options?
|
||||
/// </summary>
|
||||
public bool PreselectOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Hide the web content reader?
|
||||
/// </summary>
|
||||
public bool HideWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the web content reader?
|
||||
/// </summary>
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level required for a provider to be considered.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// The preselected provider.
|
||||
/// </summary>
|
||||
public string PreselectedProvider { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a profile?
|
||||
/// </summary>
|
||||
public string PreselectedProfile { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the SWOT analysis assistant, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataSWOTAnalysisV6
|
||||
{
|
||||
/// <summary>
|
||||
/// Preselect any SWOT analysis options?
|
||||
/// </summary>
|
||||
public bool PreselectOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Hide the web content reader?
|
||||
/// </summary>
|
||||
public bool HideWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the web content reader?
|
||||
/// </summary>
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the target language?
|
||||
/// </summary>
|
||||
public CommonLanguages PreselectedTargetLanguage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect another target language?
|
||||
/// </summary>
|
||||
public string PreselectedOtherLanguage { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any aspects that the SWOT analysis should focus on?
|
||||
/// </summary>
|
||||
public string PreselectedImportantAspects { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level required for a provider to be considered.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// The preselected provider.
|
||||
/// </summary>
|
||||
public string PreselectedProvider { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the text content cleaner, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataTextContentCleanerV6
|
||||
{
|
||||
/// <summary>
|
||||
/// Preselect any text content cleaner options?
|
||||
/// </summary>
|
||||
public bool PreselectAgentOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a text content cleaner provider?
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which cleans the text content.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
using AIStudio.Assistants.TextSummarizer;
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the text summarizer, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataTextSummarizerV6
|
||||
{
|
||||
/// <summary>
|
||||
/// Preselect any text summarizer options?
|
||||
/// </summary>
|
||||
public bool PreselectOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Hide the web content reader?
|
||||
/// </summary>
|
||||
public bool HideWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the web content reader?
|
||||
/// </summary>
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the target language?
|
||||
/// </summary>
|
||||
public CommonLanguages PreselectedTargetLanguage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any other language?
|
||||
/// </summary>
|
||||
public string PreselectedOtherLanguage { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the complexity?
|
||||
/// </summary>
|
||||
public Complexity PreselectedComplexity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any expertise in a field?
|
||||
/// </summary>
|
||||
public string PreselectedExpertInField { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any important aspects that the summarizer should take into account?
|
||||
/// </summary>
|
||||
public string PreselectedImportantAspects { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level required for a provider to be considered.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// Preselect a text summarizer provider?
|
||||
/// </summary>
|
||||
public string PreselectedProvider { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the translation assistant, as settings files up to version V6 store them.
|
||||
/// </summary>
|
||||
public sealed class DataTranslationV6
|
||||
{
|
||||
/// <summary>
|
||||
/// The live translation interval for debouncing in milliseconds.
|
||||
/// </summary>
|
||||
public int DebounceIntervalMilliseconds { get; set; } = 1_500;
|
||||
|
||||
/// <summary>
|
||||
/// Do we want to preselect any translator options?
|
||||
/// </summary>
|
||||
public bool PreselectOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the live translation?
|
||||
/// </summary>
|
||||
public bool PreselectLiveTranslation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Hide the web content reader?
|
||||
/// </summary>
|
||||
public bool HideWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the web content reader?
|
||||
/// </summary>
|
||||
public bool PreselectWebContentReader { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the text content cleaner?
|
||||
/// </summary>
|
||||
public bool PreselectContentCleanerAgent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Preselect the target language?
|
||||
/// </summary>
|
||||
public CommonLanguages PreselectedTargetLanguage { get; set; } = CommonLanguages.EN_US;
|
||||
|
||||
/// <summary>
|
||||
/// Preselect any other language?
|
||||
/// </summary>
|
||||
public string PreselectOtherLanguage { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level required for a provider to be considered.
|
||||
/// </summary>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// The preselected translator provider.
|
||||
/// </summary>
|
||||
public string PreselectedProvider { get; set; } = string.Empty;
|
||||
}
|
||||
@@ -41,13 +41,13 @@ public sealed class DataV4
|
||||
|
||||
public DataIconFinder IconFinder { get; set; } = new();
|
||||
|
||||
public DataTranslation Translation { get; set; } = new();
|
||||
public DataTranslationV6 Translation { get; set; } = new();
|
||||
|
||||
public DataCoding Coding { get; set; } = new();
|
||||
|
||||
public DataTextSummarizer TextSummarizer { get; set; } = new();
|
||||
public DataTextSummarizerV6 TextSummarizer { get; set; } = new();
|
||||
|
||||
public DataTextContentCleaner TextContentCleaner { get; set; } = new();
|
||||
public DataTextContentCleanerV6 TextContentCleaner { get; set; } = new();
|
||||
|
||||
public DataAgenda Agenda { get; set; } = new();
|
||||
|
||||
@@ -57,7 +57,7 @@ public sealed class DataV4
|
||||
|
||||
public DataEMail EMail { get; set; } = new();
|
||||
|
||||
public DataLegalCheck LegalCheck { get; set; } = new();
|
||||
public DataLegalCheckV6 LegalCheck { get; set; } = new();
|
||||
|
||||
public DataSynonyms Synonyms { get; set; } = new();
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ public sealed class DataV5
|
||||
|
||||
public DataIconFinder IconFinder { get; set; } = new();
|
||||
|
||||
public DataTranslation Translation { get; set; } = new();
|
||||
public DataTranslationV6 Translation { get; set; } = new();
|
||||
|
||||
public DataCoding Coding { get; set; } = new();
|
||||
|
||||
@@ -113,15 +113,15 @@ public sealed class DataV5
|
||||
|
||||
public DataMandatoryInformation MandatoryInformation { get; set; } = new();
|
||||
|
||||
public DataTextSummarizer TextSummarizer { get; set; } = new();
|
||||
public DataTextSummarizerV6 TextSummarizer { get; set; } = new();
|
||||
|
||||
public DataTextContentCleaner TextContentCleaner { get; set; } = new();
|
||||
|
||||
public DataAgentDataSourceSelection AgentDataSourceSelection { get; set; } = new();
|
||||
|
||||
public DataAgentRetrievalContextValidation AgentRetrievalContextValidation { get; set; } = new();
|
||||
public DataTextContentCleanerV6 TextContentCleaner { get; set; } = new();
|
||||
|
||||
public DataAssistantPluginAudit AssistantPluginAudit { get; set; } = new(x => x.AssistantPluginAudit);
|
||||
public DataAgentDataSourceSelectionV6 AgentDataSourceSelection { get; set; } = new();
|
||||
|
||||
public DataAgentRetrievalContextValidationV6 AgentRetrievalContextValidation { get; set; } = new();
|
||||
|
||||
public DataAssistantPluginAuditV6 AssistantPluginAudit { get; set; } = new();
|
||||
|
||||
public DataAgenda Agenda { get; set; } = new();
|
||||
|
||||
@@ -135,7 +135,7 @@ public sealed class DataV5
|
||||
|
||||
public DataSlideBuilder SlideBuilder { get; set; } = new();
|
||||
|
||||
public DataLegalCheck LegalCheck { get; set; } = new();
|
||||
public DataLegalCheckV6 LegalCheck { get; set; } = new();
|
||||
|
||||
public DataSynonyms Synonyms { get; set; } = new();
|
||||
|
||||
|
||||
@@ -0,0 +1,204 @@
|
||||
using AIStudio.Tools.PluginSystem.Assistants;
|
||||
|
||||
namespace AIStudio.Settings.DataModel.PreviousModels;
|
||||
|
||||
/// <summary>
|
||||
/// The data model of settings files with version V6.
|
||||
/// </summary>
|
||||
public sealed class DataV6
|
||||
{
|
||||
/// <summary>
|
||||
/// The version of the settings file. Allows us to upgrade the settings
|
||||
/// when a new version is available.
|
||||
/// </summary>
|
||||
public Version Version { get; set; } = Version.V6;
|
||||
|
||||
/// <summary>
|
||||
/// List of configured providers.
|
||||
/// </summary>
|
||||
public List<AIStudio.Settings.Provider> Providers { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Settings concerning confidence levels.
|
||||
/// </summary>
|
||||
public DataConfidence Confidence { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Settings concerning data source security checks.
|
||||
/// </summary>
|
||||
public DataSourceSecuritySettings DataSourceSecurity { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// A collection of embedding providers configured.
|
||||
/// </summary>
|
||||
public List<EmbeddingProvider> EmbeddingProviders { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// A collection of speech providers configured.
|
||||
/// </summary>
|
||||
public List<TranscriptionProvider> TranscriptionProviders { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// A collection of data sources configured.
|
||||
/// </summary>
|
||||
public List<IDataSource> DataSources { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// A collection of mailboxes configured.
|
||||
/// </summary>
|
||||
public List<DataSourceMailbox> Mailboxes { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Settings which apply to all mailboxes.
|
||||
/// </summary>
|
||||
public DataMailboxes MailboxSettings { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// List of configured profiles.
|
||||
/// </summary>
|
||||
public List<Profile> Profiles { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// List of configured chat templates.
|
||||
/// </summary>
|
||||
public List<ChatTemplate> ChatTemplates { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// List of enabled plugins.
|
||||
/// </summary>
|
||||
public List<Guid> EnabledPlugins { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Metadata for managed settings that use a plugin-provided editable default.
|
||||
/// </summary>
|
||||
public Dictionary<string, ManagedEditableDefaultState> ManagedEditableDefaults { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// The configuration plugin that owns each locked managed setting.
|
||||
/// </summary>
|
||||
public Dictionary<string, Guid> ManagedLockedConfigurations { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// The value each managed setting had before a configuration plugin took it over, as JSON.
|
||||
/// </summary>
|
||||
public Dictionary<string, string> ManagedUserValueSnapshots { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Cached audit results for assistant plugins.
|
||||
/// </summary>
|
||||
public List<PluginAssistantAudit> AssistantPluginAudits { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// The assistant plugin hashes whose organization default for the activation was already applied.
|
||||
/// </summary>
|
||||
public List<string> AppliedEnterpriseAssistantActivations { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Whether AI Studio already stored the chats and the settings once more, so that every path below
|
||||
/// the data directory in them is relative.
|
||||
/// </summary>
|
||||
public bool StoredDataPathsAreRelative { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The next provider number to use.
|
||||
/// </summary>
|
||||
public uint NextProviderNum { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// The next embedding provider number to use.
|
||||
/// </summary>
|
||||
public uint NextEmbeddingNum { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// The next transcription provider number to use.
|
||||
/// </summary>
|
||||
public uint NextTranscriptionNum { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// The next data source number to use.
|
||||
/// </summary>
|
||||
public uint NextDataSourceNum { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// The next profile number to use.
|
||||
/// </summary>
|
||||
public uint NextProfileNum { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// The next chat template number to use.
|
||||
/// </summary>
|
||||
public uint NextChatTemplateNum { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// The next document analysis policy number to use.
|
||||
/// </summary>
|
||||
public uint NextDocumentAnalysisPolicyNum { get; set; } = 1;
|
||||
|
||||
public DataApp App { get; set; } = new();
|
||||
|
||||
public DataChat Chat { get; set; } = new();
|
||||
|
||||
public DataAssistantsPage AssistantsPage { get; set; } = new();
|
||||
|
||||
public DataWorkspace Workspace { get; set; } = new();
|
||||
|
||||
public DataIconFinder IconFinder { get; set; } = new();
|
||||
|
||||
public DataTranslationV6 Translation { get; set; } = new();
|
||||
|
||||
public DataCoding Coding { get; set; } = new();
|
||||
|
||||
public DataERI ERI { get; set; } = new();
|
||||
|
||||
public DataDocumentAnalysis DocumentAnalysis { get; set; } = new();
|
||||
|
||||
public DataBatchProcessing BatchProcessing { get; set; } = new();
|
||||
|
||||
public DataMandatoryInformation MandatoryInformation { get; set; } = new();
|
||||
|
||||
public DataTextSummarizerV6 TextSummarizer { get; set; } = new();
|
||||
|
||||
public DataSWOTAnalysisV6 SWOTAnalysis { get; set; } = new();
|
||||
|
||||
public DataTextContentCleanerV6 TextContentCleaner { get; set; } = new();
|
||||
|
||||
public DataAgentDataSourceSelectionV6 AgentDataSourceSelection { get; set; } = new();
|
||||
|
||||
public DataAgentRetrievalContextValidationV6 AgentRetrievalContextValidation { get; set; } = new();
|
||||
|
||||
public DataAssistantPluginAuditV6 AssistantPluginAudit { get; set; } = new();
|
||||
|
||||
public DataAgenda Agenda { get; set; } = new();
|
||||
|
||||
public DataGrammarSpelling GrammarSpelling { get; set; } = new();
|
||||
|
||||
public DataRewriteImprove RewriteImprove { get; set; } = new();
|
||||
|
||||
public DataPromptOptimizer PromptOptimizer { get; set; } = new();
|
||||
|
||||
public DataEMail EMail { get; set; } = new();
|
||||
|
||||
public DataSlideBuilder SlideBuilder { get; set; } = new();
|
||||
|
||||
public DataAssistantBuilder AssistantBuilder { get; set; } = new();
|
||||
|
||||
public DataVisualBriefing VisualBriefing { get; set; } = new();
|
||||
|
||||
public DataBeyondFactsLab BeyondFactsLab { get; set; } = new();
|
||||
|
||||
public DataModelComparison ModelComparison { get; set; } = new();
|
||||
|
||||
public DataLegalCheckV6 LegalCheck { get; set; } = new();
|
||||
|
||||
public DataSynonyms Synonyms { get; set; } = new();
|
||||
|
||||
public DataMyTasks MyTasks { get; set; } = new();
|
||||
|
||||
public DataJobPostings JobPostings { get; set; } = new();
|
||||
|
||||
public DataBiasOfTheDay BiasOfTheDay { get; set; } = new();
|
||||
|
||||
public DataI18N I18N { get; set; } = new();
|
||||
|
||||
public DataTools Tools { get; set; } = new();
|
||||
}
|
||||
Reference in new issue
Block a user