feat(video): update ASR terminology and file type labels for improved clarity
- Changed 'Audio Processing' to 'Audio & Video' in English, Korean, Russian, and Chinese translations to reflect expanded functionality. - Updated ASR configuration titles and descriptions to include video processing capabilities, enhancing user understanding of the feature. - Renamed file type labels from 'Audio Files' to 'Audio & Video' across multiple languages for consistency and clarity. - Enhanced document upload handling in the KnowledgeBase to filter unsupported file types, providing user feedback for filtered images, videos, and audio files. This update improves the internationalization of the application and clarifies the capabilities of the ASR feature.
This commit is contained in:
@@ -20,12 +20,6 @@ const (
|
||||
ChunkTypeImageOCR ChunkType = "image_ocr"
|
||||
// ChunkTypeImageCaption 表示图片描述的 Chunk
|
||||
ChunkTypeImageCaption ChunkType = "image_caption"
|
||||
// ChunkTypeVideoFrame 表示视频帧分析内容的 Chunk
|
||||
ChunkTypeVideoFrame ChunkType = "video_frame"
|
||||
// ChunkTypeVideoCaption 表示视频整体描述的 Chunk
|
||||
ChunkTypeVideoCaption ChunkType = "video_caption"
|
||||
// ChunkTypeVideoASR 表示视频音频转录的 Chunk
|
||||
ChunkTypeVideoASR ChunkType = "video_asr"
|
||||
// ChunkTypeSummary 表示摘要类型的 Chunk
|
||||
ChunkTypeSummary = "summary"
|
||||
// ChunkTypeEntity 表示实体类型的 Chunk
|
||||
@@ -105,18 +99,6 @@ type ImageInfo struct {
|
||||
type VideoInfo struct {
|
||||
// 视频URL
|
||||
URL string `json:"url" gorm:"type:text"`
|
||||
// 帧数量
|
||||
FrameCount int `json:"frame_count"`
|
||||
// 是否有VLM分析
|
||||
HasVLMAnalysis bool `json:"has_vlm_analysis"`
|
||||
// 是否有ASR转录
|
||||
HasASR bool `json:"has_asr"`
|
||||
// 视频摘要
|
||||
VideoSummary string `json:"video_summary"`
|
||||
// ASR转录文本
|
||||
ASRText string `json:"asr_text"`
|
||||
// 帧描述列表
|
||||
FrameDescriptions []string `json:"frame_descriptions"`
|
||||
}
|
||||
|
||||
// Chunk represents a document chunk
|
||||
|
||||
Reference in New Issue
Block a user