mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-15 15:41:38 +00:00
Add Speech-to-Text preview feature implementation
This commit is contained in:
parent
b1336abbfd
commit
0effed8c6e
@ -5368,6 +5368,9 @@ UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T1848
|
|||||||
-- Plugins: Preview of our plugin system where you can extend the functionality of the app
|
-- Plugins: Preview of our plugin system where you can extend the functionality of the app
|
||||||
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2056842933"] = "Plugins: Preview of our plugin system where you can extend the functionality of the app"
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2056842933"] = "Plugins: Preview of our plugin system where you can extend the functionality of the app"
|
||||||
|
|
||||||
|
-- Speech to Text: Preview of our speech to text system where you can transcribe recordings and audio files into text
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T221133923"] = "Speech to Text: Preview of our speech to text system where you can transcribe recordings and audio files into text"
|
||||||
|
|
||||||
-- RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company
|
-- RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company
|
||||||
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2708939138"] = "RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company"
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2708939138"] = "RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company"
|
||||||
|
|
||||||
|
|||||||
@ -21,12 +21,15 @@
|
|||||||
}
|
}
|
||||||
</MudNavMenu>
|
</MudNavMenu>
|
||||||
|
|
||||||
<MudToggleIconButton Toggled="@this.isRecording"
|
@if (PreviewFeatures.PRE_SPEECH_TO_TEXT_2026.IsEnabled(this.SettingsManager))
|
||||||
ToggledChanged="@this.OnRecordingToggled"
|
{
|
||||||
Icon="@Icons.Material.Filled.Mic"
|
<MudToggleIconButton Toggled="@this.isRecording"
|
||||||
ToggledIcon="@Icons.Material.Filled.Stop"
|
ToggledChanged="@this.OnRecordingToggled"
|
||||||
Color="Color.Primary"
|
Icon="@Icons.Material.Filled.Mic"
|
||||||
ToggledColor="Color.Error" />
|
ToggledIcon="@Icons.Material.Filled.Stop"
|
||||||
|
Color="Color.Primary"
|
||||||
|
ToggledColor="Color.Error"/>
|
||||||
|
}
|
||||||
</MudDrawer>
|
</MudDrawer>
|
||||||
</MudDrawerContainer>
|
</MudDrawerContainer>
|
||||||
}
|
}
|
||||||
@ -49,12 +52,15 @@
|
|||||||
}
|
}
|
||||||
</MudNavMenu>
|
</MudNavMenu>
|
||||||
|
|
||||||
<MudToggleIconButton Toggled="@this.isRecording"
|
@if (PreviewFeatures.PRE_SPEECH_TO_TEXT_2026.IsEnabled(this.SettingsManager))
|
||||||
ToggledChanged="@this.OnRecordingToggled"
|
{
|
||||||
Icon="@Icons.Material.Filled.Mic"
|
<MudToggleIconButton Toggled="@this.isRecording"
|
||||||
ToggledIcon="@Icons.Material.Filled.Stop"
|
ToggledChanged="@this.OnRecordingToggled"
|
||||||
Color="Color.Primary"
|
Icon="@Icons.Material.Filled.Mic"
|
||||||
ToggledColor="Color.Error" />
|
ToggledIcon="@Icons.Material.Filled.Stop"
|
||||||
|
Color="Color.Primary"
|
||||||
|
ToggledColor="Color.Error"/>
|
||||||
|
}
|
||||||
</MudPaper>
|
</MudPaper>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5370,6 +5370,9 @@ UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T1848
|
|||||||
-- Plugins: Preview of our plugin system where you can extend the functionality of the app
|
-- Plugins: Preview of our plugin system where you can extend the functionality of the app
|
||||||
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2056842933"] = "Plugins: Vorschau auf unser Pluginsystems, mit dem Sie die Funktionalität der App erweitern können"
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2056842933"] = "Plugins: Vorschau auf unser Pluginsystems, mit dem Sie die Funktionalität der App erweitern können"
|
||||||
|
|
||||||
|
-- Speech to Text: Preview of our speech to text system where you can transcribe recordings and audio files into text
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T221133923"] = "Sprache zu Text: Vorschau unseres Sprache-zu-Text-Systems, mit dem Sie Aufnahmen und Audiodateien in Text transkribieren können."
|
||||||
|
|
||||||
-- RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company
|
-- RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company
|
||||||
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2708939138"] = "RAG: Vorschau auf unsere RAG-Implementierung, mit der Sie auf ihre Dateien zugreifen oder Unternehmensdaten in ihrem Unternehmen integrieren können"
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2708939138"] = "RAG: Vorschau auf unsere RAG-Implementierung, mit der Sie auf ihre Dateien zugreifen oder Unternehmensdaten in ihrem Unternehmen integrieren können"
|
||||||
|
|
||||||
|
|||||||
@ -5370,6 +5370,9 @@ UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T1848
|
|||||||
-- Plugins: Preview of our plugin system where you can extend the functionality of the app
|
-- Plugins: Preview of our plugin system where you can extend the functionality of the app
|
||||||
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2056842933"] = "Plugins: Preview of our plugin system where you can extend the functionality of the app"
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2056842933"] = "Plugins: Preview of our plugin system where you can extend the functionality of the app"
|
||||||
|
|
||||||
|
-- Speech to Text: Preview of our speech to text system where you can transcribe recordings and audio files into text
|
||||||
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T221133923"] = "Speech to Text: Preview of our speech to text system where you can transcribe recordings and audio files into text"
|
||||||
|
|
||||||
-- RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company
|
-- RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company
|
||||||
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2708939138"] = "RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company"
|
UI_TEXT_CONTENT["AISTUDIO::SETTINGS::DATAMODEL::PREVIEWFEATURESEXTENSIONS::T2708939138"] = "RAG: Preview of our RAG implementation where you can refer your files or integrate enterprise data within your company"
|
||||||
|
|
||||||
|
|||||||
@ -12,4 +12,5 @@ public enum PreviewFeatures
|
|||||||
PRE_PLUGINS_2025,
|
PRE_PLUGINS_2025,
|
||||||
PRE_READ_PDF_2025,
|
PRE_READ_PDF_2025,
|
||||||
PRE_DOCUMENT_ANALYSIS_2025,
|
PRE_DOCUMENT_ANALYSIS_2025,
|
||||||
|
PRE_SPEECH_TO_TEXT_2026,
|
||||||
}
|
}
|
||||||
@ -14,6 +14,7 @@ public static class PreviewFeaturesExtensions
|
|||||||
PreviewFeatures.PRE_PLUGINS_2025 => TB("Plugins: Preview of our plugin system where you can extend the functionality of the app"),
|
PreviewFeatures.PRE_PLUGINS_2025 => TB("Plugins: Preview of our plugin system where you can extend the functionality of the app"),
|
||||||
PreviewFeatures.PRE_READ_PDF_2025 => TB("Read PDF: Preview of our PDF reading system where you can read and extract text from PDF files"),
|
PreviewFeatures.PRE_READ_PDF_2025 => TB("Read PDF: Preview of our PDF reading system where you can read and extract text from PDF files"),
|
||||||
PreviewFeatures.PRE_DOCUMENT_ANALYSIS_2025 => TB("Document Analysis: Preview of our document analysis system where you can analyze and extract information from documents"),
|
PreviewFeatures.PRE_DOCUMENT_ANALYSIS_2025 => TB("Document Analysis: Preview of our document analysis system where you can analyze and extract information from documents"),
|
||||||
|
PreviewFeatures.PRE_SPEECH_TO_TEXT_2026 => TB("Speech to Text: Preview of our speech to text system where you can transcribe recordings and audio files into text"),
|
||||||
|
|
||||||
_ => TB("Unknown preview feature")
|
_ => TB("Unknown preview feature")
|
||||||
};
|
};
|
||||||
|
|||||||
@ -21,6 +21,7 @@ public static class PreviewVisibilityExtensions
|
|||||||
{
|
{
|
||||||
features.Add(PreviewFeatures.PRE_RAG_2024);
|
features.Add(PreviewFeatures.PRE_RAG_2024);
|
||||||
features.Add(PreviewFeatures.PRE_DOCUMENT_ANALYSIS_2025);
|
features.Add(PreviewFeatures.PRE_DOCUMENT_ANALYSIS_2025);
|
||||||
|
features.Add(PreviewFeatures.PRE_SPEECH_TO_TEXT_2026);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (visibility >= PreviewVisibility.EXPERIMENTAL)
|
if (visibility >= PreviewVisibility.EXPERIMENTAL)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user