mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 20:07:20 +00:00
Generated the JSON contracts of the stored data at compile time (#1148)
This commit is contained in:
1 parent
fc7399e81b
commit
e954881fda
75 files changed
+5437
-298
No files matched your search
@@ -4,13 +4,13 @@ namespace AIStudio.Tools.PluginSystem.Assistants;
|
||||
|
||||
public sealed class PluginAssistantAudit
|
||||
{
|
||||
public Guid PluginId { get; init; }
|
||||
public string PluginHash { get; init; } = string.Empty;
|
||||
public Guid PluginId { get; set; }
|
||||
public string PluginHash { get; set; } = string.Empty;
|
||||
public DateTimeOffset AuditedAtUtc { get; set; }
|
||||
public string AuditProviderId { get; set; } = string.Empty;
|
||||
public string AuditProviderName { get; set; } = string.Empty;
|
||||
public AssistantAuditLevel Level { get; init; } = AssistantAuditLevel.UNKNOWN;
|
||||
public string Summary { get; init; } = string.Empty;
|
||||
public AssistantAuditLevel Level { get; set; } = AssistantAuditLevel.UNKNOWN;
|
||||
public string Summary { get; set; } = string.Empty;
|
||||
public float Confidence { get; set; }
|
||||
public string PromptPreview { get; set; } = string.Empty;
|
||||
public List<AssistantAuditFinding> Findings { get; set; } = [];
|
||||
|
||||
@@ -5,19 +5,19 @@ public abstract record ConfigurationBaseObject : IConfigurationObject
|
||||
#region Implementation of IConfigurationObject
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract string Id { get; init; }
|
||||
public abstract string Id { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract uint Num { get; init; }
|
||||
public abstract uint Num { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract string Name { get; init; }
|
||||
public abstract string Name { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract bool IsEnterpriseConfiguration { get; init; }
|
||||
public abstract bool IsEnterpriseConfiguration { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public abstract Guid EnterpriseConfigurationPluginId { get; init; }
|
||||
public abstract Guid EnterpriseConfigurationPluginId { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user