mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 02:29:19 +03:00
* Support GenAI for embeddings * Add embed API support * Add support for embedding via genai * Basic docs * undo * Fix sending images * Don't require download check * Set model * Handle emb correctly * Clarification * Cleanup * Cleanup
34 lines
453 B
TypeScript
34 lines
453 B
TypeScript
/** ONNX embedding models that require local model downloads. GenAI providers are not in this list. */
|
|
export const JINA_EMBEDDING_MODELS = ["jinav1", "jinav2"] as const;
|
|
|
|
export const supportedLanguageKeys = [
|
|
"en",
|
|
"es",
|
|
"pt",
|
|
"pt-BR",
|
|
"fr",
|
|
"de",
|
|
"it",
|
|
"ca",
|
|
"ro",
|
|
"nl",
|
|
"nb-NO",
|
|
"sv",
|
|
"zh-CN",
|
|
"yue-Hant",
|
|
"ja",
|
|
"vi",
|
|
"th",
|
|
"he",
|
|
"fa",
|
|
"ru",
|
|
"tr",
|
|
"pl",
|
|
"hr",
|
|
"sk",
|
|
"lt",
|
|
"uk",
|
|
"cs",
|
|
"hu",
|
|
];
|