feat(asr): add ASR model connection check and update related components
- Implemented a new function to check ASR model connectivity via the /v1/audio/transcriptions endpoint. - Updated ModelEditorDialog.vue to integrate ASR model checks and adjust UI elements accordingly. - Enhanced localization files to reflect changes in ASR terminology and descriptions. - Added ASR configuration options to the knowledge base and updated related migration scripts. - Refactored model handling to support ASR as a distinct model type in the application.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- Migration: 000025_add_asr_config (rollback)
|
||||
-- Description: Remove asr_config column from knowledge_bases.
|
||||
DO $$ BEGIN RAISE NOTICE '[Migration 000025] Removing asr_config column from knowledge_bases'; END $$;
|
||||
|
||||
ALTER TABLE knowledge_bases DROP COLUMN IF EXISTS asr_config;
|
||||
|
||||
DO $$ BEGIN RAISE NOTICE '[Migration 000025] asr_config column removed successfully'; END $$;
|
||||
Reference in New Issue
Block a user