使用 qwen 进行语音识别,加入 tag

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 20:10:08 +08:00
co-authored by Copilot
parent 040273586b
commit 206a561ee7
26 changed files with 3720 additions and 443 deletions
@@ -0,0 +1,5 @@
ALTER TABLE "VideoTranscript"
ADD COLUMN "content_tags" TEXT[] NOT NULL DEFAULT ARRAY[]::TEXT[];
CREATE INDEX "video_transcript_content_tags_idx"
ON "VideoTranscript" USING GIN ("content_tags");
+2
View File
@@ -145,11 +145,13 @@ model VideoTranscript {
audio_type String?
transcript String[]
non_speech_summary String?
content_tags String[] @default([])
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
transcript_zh_tsv Unsupported("tsvector")?
video Video @relation(fields: [videoId], references: [aweme_id], onDelete: Cascade)
@@index([videoId])
@@index([content_tags], map: "video_transcript_content_tags_idx", type: Gin)
@@index([transcript_zh_tsv], map: "video_transcript_zh_idx", type: Gin)
}