2026-03-08 09:55:00 -06:00
|
|
|
/** ONNX embedding models that require local model downloads. GenAI providers are not in this list. */
|
|
|
|
|
export const JINA_EMBEDDING_MODELS = ["jinav1", "jinav2"] as const;
|
|
|
|
|
|
2026-05-20 16:59:01 -05:00
|
|
|
/**
|
|
|
|
|
* Sentinel the backend substitutes for saved credentials (api keys,
|
|
|
|
|
* passwords, secrets) in /config responses. The credential widget renders
|
|
|
|
|
* this value as an empty input with a "saved — leave blank to keep" hint,
|
|
|
|
|
* and stripRedactedCredentials() removes any field still equal to this
|
|
|
|
|
* value before sending a config/set payload so the saved YAML value is
|
|
|
|
|
* preserved. Mirror of frigate.const.REDACTED_CREDENTIAL_SENTINEL.
|
|
|
|
|
*/
|
|
|
|
|
export const REDACTED_CREDENTIAL_SENTINEL = "__FRIGATE_SAVED_CREDENTIAL__";
|
|
|
|
|
|
2026-03-26 13:47:24 -05:00
|
|
|
export const ANNOTATION_OFFSET_MIN = -10000;
|
2026-06-01 14:55:52 -05:00
|
|
|
export const ANNOTATION_OFFSET_MAX = 10000;
|
2026-03-26 13:47:24 -05:00
|
|
|
export const ANNOTATION_OFFSET_STEP = 50;
|
|
|
|
|
|
2025-04-29 09:02:50 -06:00
|
|
|
export const supportedLanguageKeys = [
|
|
|
|
|
"en",
|
|
|
|
|
"es",
|
2025-05-22 19:16:35 -05:00
|
|
|
"pt",
|
2025-08-10 07:27:47 -05:00
|
|
|
"pt-BR",
|
2025-04-29 09:02:50 -06:00
|
|
|
"fr",
|
|
|
|
|
"de",
|
|
|
|
|
"it",
|
2025-06-11 13:08:46 -05:00
|
|
|
"ca",
|
2025-06-20 16:39:47 -06:00
|
|
|
"ro",
|
2025-04-29 09:02:50 -06:00
|
|
|
"nl",
|
|
|
|
|
"nb-NO",
|
2025-10-15 14:42:13 -05:00
|
|
|
"sv",
|
2025-04-29 09:02:50 -06:00
|
|
|
"zh-CN",
|
2026-05-27 21:04:41 +08:00
|
|
|
"zh-Hant",
|
2025-04-29 09:02:50 -06:00
|
|
|
"yue-Hant",
|
2025-10-15 14:42:13 -05:00
|
|
|
"ja",
|
2025-06-17 13:11:19 -06:00
|
|
|
"vi",
|
2025-05-20 17:47:05 -05:00
|
|
|
"th",
|
2025-06-11 13:08:46 -05:00
|
|
|
"he",
|
2026-02-03 13:29:52 -06:00
|
|
|
"fa",
|
2025-04-29 09:02:50 -06:00
|
|
|
"ru",
|
2025-05-19 15:43:22 -05:00
|
|
|
"tr",
|
|
|
|
|
"pl",
|
2026-02-03 13:29:52 -06:00
|
|
|
"hr",
|
2026-05-10 11:09:28 -06:00
|
|
|
"bs",
|
2026-02-03 13:29:52 -06:00
|
|
|
"sk",
|
2026-03-15 07:26:23 -05:00
|
|
|
"sl",
|
2025-10-15 14:42:13 -05:00
|
|
|
"lt",
|
2025-05-11 13:03:53 -05:00
|
|
|
"uk",
|
2025-05-19 15:43:22 -05:00
|
|
|
"cs",
|
2025-06-25 16:45:24 -05:00
|
|
|
"hu",
|
2025-04-29 09:02:50 -06:00
|
|
|
];
|