mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-27 14:19:01 +03:00
Embeddings tweaks (#16864)
* make semantic search optional * config * frontend metrics * docs * tweak * fixes * also check genai cameras for embeddings context
This commit is contained in:
@@ -28,7 +28,11 @@ function System() {
|
||||
const metrics = useMemo(() => {
|
||||
const metrics = [...allMetrics];
|
||||
|
||||
if (!config?.semantic_search.enabled) {
|
||||
if (
|
||||
!config?.semantic_search.enabled &&
|
||||
!config?.lpr.enabled &&
|
||||
!config?.face_recognition.enabled
|
||||
) {
|
||||
const index = metrics.indexOf("features");
|
||||
metrics.splice(index, 1);
|
||||
}
|
||||
|
||||
@@ -363,6 +363,10 @@ export interface FrigateConfig {
|
||||
|
||||
camera_groups: { [groupName: string]: CameraGroupConfig };
|
||||
|
||||
lpr: {
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
logger: {
|
||||
default: string;
|
||||
logs: Record<string, string>;
|
||||
|
||||
Reference in New Issue
Block a user