@attribute [Route(Routes.ASSISTANT_DOCUMENT_ANALYSIS)] @inherits AssistantBaseCore @using AIStudio.Settings.DataModel
@T("Document analysis policies") @T("Here you have the option to save different policies for various document analysis assistants and switch between them.") @if(this.SettingsManager.ConfigurationData.DocumentAnalysis.Policies.Count is 0) { @T("You have not yet added any document analysis policies.") } else { @foreach (var policy in this.SettingsManager.ConfigurationData.DocumentAnalysis.Policies) { @if (policy.IsEnterpriseConfiguration) { @policy.PolicyName } else { @policy.PolicyName } } } @T("Add policy") @T("Delete this policy") @if (this.selectedPolicy?.HidePolicyDefinition ?? false) { @* When HidePolicyDefinition is true, show only the document selection section without expansion panels *@
@T("Document selection - Policy"): @this.selectedPolicy?.PolicyName @T("Policy Description") @this.selectedPolicy?.PolicyDescription @T("Documents for the analysis")
} else { @* Standard view with expansion panels *@ @if (!this.policyDefinitionExpanded) { @T("Expand this section to view and edit the policy definition.") } else { @T("Common settings") @T("Analysis and output rules") @T("Use the analysis and output rules to define how the AI evaluates your documents and formats the results.") @T("The analysis rules specify what the AI should pay particular attention to while reviewing the documents you provide, and which aspects it should highlight or save. For example, if you want to extract the potential of green hydrogen for agriculture from a variety of general publications, you can explicitly define this in the analysis rules.") @T("After the AI has processed all documents, it needs your instructions on how the result should be formatted. Would you like a structured list with keywords or a continuous text? Should the output include emojis or be written in formal business language? You can specify all these preferences in the output rules. There, you can also predefine a desired structure—for example, by using Markdown formatting to define headings, paragraphs, or bullet points.") @T("Preparation for enterprise distribution") @T("Export policy as configuration section") } @T("Policy Description") @this.selectedPolicy?.PolicyDescription @T("Documents for the analysis") }