diff --git a/app/MindWork AI Studio/Assistants/LegalCheck/AssistantLegalCheck.razor b/app/MindWork AI Studio/Assistants/LegalCheck/AssistantLegalCheck.razor index fb258aeb..01405125 100644 --- a/app/MindWork AI Studio/Assistants/LegalCheck/AssistantLegalCheck.razor +++ b/app/MindWork AI Studio/Assistants/LegalCheck/AssistantLegalCheck.razor @@ -1,4 +1,5 @@ @attribute [Route(Routes.ASSISTANT_LEGAL_CHECK)] +@using AIStudio.Settings.DataModel @inherits AssistantBaseCore @if (!this.SettingsManager.ConfigurationData.LegalCheck.HideWebContentReader) @@ -6,6 +7,11 @@ } +@if (PreviewFeatures.PRE_READ_PDF_2025.IsEnabled(this.SettingsManager)) +{ + +} + \ No newline at end of file diff --git a/app/MindWork AI Studio/Assistants/TextSummarizer/AssistantTextSummarizer.razor b/app/MindWork AI Studio/Assistants/TextSummarizer/AssistantTextSummarizer.razor index adefc266..3f49d185 100644 --- a/app/MindWork AI Studio/Assistants/TextSummarizer/AssistantTextSummarizer.razor +++ b/app/MindWork AI Studio/Assistants/TextSummarizer/AssistantTextSummarizer.razor @@ -1,4 +1,5 @@ @attribute [Route(Routes.ASSISTANT_SUMMARIZER)] +@using AIStudio.Settings.DataModel @inherits AssistantBaseCore @if (!this.SettingsManager.ConfigurationData.TextSummarizer.HideWebContentReader) @@ -6,6 +7,11 @@ } +@if (PreviewFeatures.PRE_READ_PDF_2025.IsEnabled(this.SettingsManager)) +{ + +} + diff --git a/app/MindWork AI Studio/Assistants/Translation/AssistantTranslation.razor b/app/MindWork AI Studio/Assistants/Translation/AssistantTranslation.razor index a1e6cdcc..27b902ce 100644 --- a/app/MindWork AI Studio/Assistants/Translation/AssistantTranslation.razor +++ b/app/MindWork AI Studio/Assistants/Translation/AssistantTranslation.razor @@ -1,4 +1,5 @@ @attribute [Route(Routes.ASSISTANT_TRANSLATION)] +@using AIStudio.Settings.DataModel @inherits AssistantBaseCore @if (!this.SettingsManager.ConfigurationData.Translation.HideWebContentReader) @@ -6,6 +7,11 @@ } +@if (PreviewFeatures.PRE_READ_PDF_2025.IsEnabled(this.SettingsManager)) +{ + +} + @if (this.liveTranslation) { diff --git a/app/MindWork AI Studio/Settings/DataModel/PreviewFeatures.cs b/app/MindWork AI Studio/Settings/DataModel/PreviewFeatures.cs index ff642a0a..85acedec 100644 --- a/app/MindWork AI Studio/Settings/DataModel/PreviewFeatures.cs +++ b/app/MindWork AI Studio/Settings/DataModel/PreviewFeatures.cs @@ -10,4 +10,5 @@ public enum PreviewFeatures PRE_RAG_2024, PRE_PLUGINS_2025, + PRE_READ_PDF_2025, } \ No newline at end of file diff --git a/app/MindWork AI Studio/Settings/DataModel/PreviewFeaturesExtensions.cs b/app/MindWork AI Studio/Settings/DataModel/PreviewFeaturesExtensions.cs index 2eb25587..dee08282 100644 --- a/app/MindWork AI Studio/Settings/DataModel/PreviewFeaturesExtensions.cs +++ b/app/MindWork AI Studio/Settings/DataModel/PreviewFeaturesExtensions.cs @@ -6,7 +6,9 @@ public static class PreviewFeaturesExtensions { PreviewFeatures.PRE_WRITER_MODE_2024 => "Writer Mode: Experiments about how to write long texts using AI", PreviewFeatures.PRE_RAG_2024 => "RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company", + PreviewFeatures.PRE_PLUGINS_2025 => "Plugins: Preview of our plugin system where you can extend the functionality of the app", + PreviewFeatures.PRE_READ_PDF_2025 => "Read PDF: Preview of our PDF reading system where you can read and extract text from PDF files", _ => "Unknown preview feature" }; diff --git a/app/MindWork AI Studio/Settings/DataModel/PreviewVisibilityExtensions.cs b/app/MindWork AI Studio/Settings/DataModel/PreviewVisibilityExtensions.cs index b0f07716..6905fc0f 100644 --- a/app/MindWork AI Studio/Settings/DataModel/PreviewVisibilityExtensions.cs +++ b/app/MindWork AI Studio/Settings/DataModel/PreviewVisibilityExtensions.cs @@ -19,6 +19,7 @@ public static class PreviewVisibilityExtensions if (visibility >= PreviewVisibility.PROTOTYPE) { + features.Add(PreviewFeatures.PRE_READ_PDF_2025); features.Add(PreviewFeatures.PRE_RAG_2024); } diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.9.42.md b/app/MindWork AI Studio/wwwroot/changelog/v0.9.42.md index 9a4783ae..77c8c703 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.9.42.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.9.42.md @@ -1,5 +1,6 @@ # v0.9.42, build 217 (2025-05-xx xx:xx UTC) - Added the writing style "Changelog" to the rewrite & improve text assistant. This helps to create changelogs for your projects. +- Added an option to load PDF files directly into the translation, text summarization, and legal check assistants as a preview prototype for testing before release. - Improved the model selection for OpenAI by removing all `o1-pro` models. These models cannot be used right now, since OpenAI introduced a new API, which is not yet supported by MindWork AI Studio. - Improved the internal plugin maintenance so that removed resources are now removed from the file system. - Improved the app settings to apply the chosen language immediately.