mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-11-24 20:30:22 +00:00
Some checks are pending
Build and Release / Read metadata (push) Waiting to run
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage deb updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis updater) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage deb updater) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
Co-authored-by: Peer Schütt <20603780+peerschuett@users.noreply.github.com>
52 lines
1.6 KiB
C#
52 lines
1.6 KiB
C#
using AIStudio.Provider;
|
|
|
|
namespace AIStudio.Settings.DataModel;
|
|
|
|
public sealed class DataDocumentAnalysisPolicy
|
|
{
|
|
/// <summary>
|
|
/// Preselect the policy name?
|
|
/// </summary>
|
|
public string PolicyName { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Preselect the policy description?
|
|
/// </summary>
|
|
public string PolicyDescription { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Is this policy protected? If so, it cannot be deleted or modified by the user.
|
|
/// </summary>
|
|
public bool IsProtected { get; set; }
|
|
|
|
/// <summary>
|
|
/// Is this a managed policy? Managed policies are created and managed by the organization
|
|
/// and cannot be modified or deleted by the user.
|
|
/// </summary>
|
|
public bool IsManaged { get; set; }
|
|
|
|
/// <summary>
|
|
/// The rules for the document analysis policy.
|
|
/// </summary>
|
|
public string AnalysisRules { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// The rules for the output of the document analysis, e.g., the desired format, structure, etc.
|
|
/// </summary>
|
|
public string OutputRules { 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>
|
|
/// Which LLM provider should be preselected?
|
|
/// </summary>
|
|
public string PreselectedProvider { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Preselect a profile?
|
|
/// </summary>
|
|
public string PreselectedProfile { get; set; } = string.Empty;
|
|
} |