Implementation:0xsline OpenChatCut ASR Models Catalog
Appearance
| Knowledge Sources | |
|---|---|
| Domains | ASR, Models |
| Last Updated | 2026-10-22 14:00 GMT |
Overview
ASR model catalog that defines available on-device speech recognition models with metadata, download sources, and engine compatibility.
Description
The ASR Models Catalog module defines the catalog of available ASR models. Each model entry includes model ID, engine (GGML/ONNX), file sizes, download URLs, SHA-256 hashes, and language support. Used by the ASR model management plugin for download and installation.
Usage
- ASR model management:*** Catalog used to list, download, and install on-device ASR models.
Code Reference
Source Location
- Repository:*** OpenChatCut
- File:*** shared/asr-models.ts
- Lines:*** 1-192
Signature
export interface AsrModelEntry {
id: string;
label: string;
engine: 'ggml' | 'onnx';
language: string;
files: AsrModelFile[];
sizeBytes: number;
}
export const ASR_MODELS: readonly AsrModelEntry[];
export function asrModelEntry(id: string): AsrModelEntry | undefined;
Import
import { ASR_MODELS, asrModelEntry, type AsrModelEntry } from '../shared/asr-models.ts';
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Model ID (for asrModelEntry) |
Outputs
| Name | Type | Description |
|---|---|---|
| ASR_MODELS | readonly AsrModelEntry[] | Full model catalog |
| asrModelEntry() returns | undefined | Model entry by ID |
Usage Examples
Listing ASR Models
import { ASR_MODELS } from '../shared/asr-models.ts';
for (const model of ASR_MODELS) {
console.log(model.id, model.label, model.engine);
}
Related Pages
Requires Environment
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment