mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 18:07:21 +00:00
Added transcription of audio and video files to local data sources (#1081)
Co-authored-by: Paul Koudelka <106623909+PaulKoudelka@users.noreply.github.com>
This commit is contained in:
1 parent
8642ce2d81
commit
752f7d828a
82 files changed
+3231
-302
No files matched your search
@@ -0,0 +1,63 @@
|
||||
namespace AIStudio.Tools.Media;
|
||||
|
||||
/// <summary>
|
||||
/// How the request for a persistent transcript ended, cf. PersistentMediaTranscript.
|
||||
/// </summary>
|
||||
public enum PersistentMediaTranscriptStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// The transcript is stored at its place and holds text.
|
||||
/// </summary>
|
||||
READY,
|
||||
|
||||
/// <summary>
|
||||
/// There is no transcript yet, and the caller allows no transcription provider.
|
||||
/// </summary>
|
||||
NO_PROVIDER,
|
||||
|
||||
/// <summary>
|
||||
/// The media file could not be read before it was transcribed.
|
||||
/// </summary>
|
||||
SOURCE_UNREADABLE,
|
||||
|
||||
/// <summary>
|
||||
/// A transcript exists, but it could not be read.
|
||||
/// </summary>
|
||||
TRANSCRIPT_UNREADABLE,
|
||||
|
||||
/// <summary>
|
||||
/// The transcription failed. The error code of the media pipeline tells why, when it is known.
|
||||
/// </summary>
|
||||
TRANSCRIPTION_FAILED,
|
||||
|
||||
/// <summary>
|
||||
/// The transcription provider refused the media file itself, e.g., because it is too large
|
||||
/// or damaged. It would refuse the unchanged file again.
|
||||
/// </summary>
|
||||
REJECTED,
|
||||
|
||||
/// <summary>
|
||||
/// The media file holds no audible signal, so there was nothing to transcribe.
|
||||
/// </summary>
|
||||
NO_AUDIBLE_SIGNAL,
|
||||
|
||||
/// <summary>
|
||||
/// The transcription provider returned no text. Nothing was stored.
|
||||
/// </summary>
|
||||
EMPTY,
|
||||
|
||||
/// <summary>
|
||||
/// The media file changed while it was transcribed. Nothing was stored.
|
||||
/// </summary>
|
||||
SOURCE_CHANGED,
|
||||
|
||||
/// <summary>
|
||||
/// The transcript could not be stored at its place.
|
||||
/// </summary>
|
||||
STORE_FAILED,
|
||||
|
||||
/// <summary>
|
||||
/// The caller cancelled before a transcript was available.
|
||||
/// </summary>
|
||||
CANCELLED,
|
||||
}
|
||||
Reference in new issue
Block a user