Add ability to use Jina CLIP V2 for semantic search (#16826)

* add wheels

* move extra index url to bottom

* config model option

* add postprocess

* fix config

* jina v2 embedding class

* use jina v2 in embeddings

* fix ov inference

* frontend

* update reference config

* revert device

* fix truncation

* return np tensors

* use correct embeddings from inference

* manual preprocess

* clean up

* docs

* lower batch size for v2 only

* docs clarity

* wording
This commit is contained in:
Josh Hawkins authored and GitHub committed 2025-02-26 07:58:25 -07:00
1 parent 447f26e1b9
commit d0e9bcbfdc
10 files changed
+380 -49

No files matched your search

+2
View File
@@ -20,6 +20,7 @@ export interface BirdseyeConfig {
width: number;
}
export type SearchModel = "jinav1" | "jinav2";
export type SearchModelSize = "small" | "large";
export interface CameraConfig {
@@ -458,6 +459,7 @@ export interface FrigateConfig {
semantic_search: {
enabled: boolean;
reindex: boolean;
model: SearchModel;
model_size: SearchModelSize;
};