mirror of
https://github.com/immich-app/immich.git
synced 2026-02-14 04:47:57 +03:00
feat: preload textual model
This commit is contained in:
@@ -8603,12 +8603,16 @@
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"loadTextualModelOnConnection": {
|
||||
"$ref": "#/components/schemas/LoadTextualModelOnConnection"
|
||||
},
|
||||
"modelName": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled",
|
||||
"loadTextualModelOnConnection",
|
||||
"modelName"
|
||||
],
|
||||
"type": "object"
|
||||
@@ -9433,6 +9437,23 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"LoadTextualModelOnConnection": {
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"ttl": {
|
||||
"format": "int64",
|
||||
"minimum": 0,
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled",
|
||||
"ttl"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"LogLevel": {
|
||||
"enum": [
|
||||
"verbose",
|
||||
|
||||
@@ -1100,8 +1100,13 @@ export type SystemConfigLoggingDto = {
|
||||
enabled: boolean;
|
||||
level: LogLevel;
|
||||
};
|
||||
export type LoadTextualModelOnConnection = {
|
||||
enabled: boolean;
|
||||
ttl: number;
|
||||
};
|
||||
export type ClipConfig = {
|
||||
enabled: boolean;
|
||||
loadTextualModelOnConnection: LoadTextualModelOnConnection;
|
||||
modelName: string;
|
||||
};
|
||||
export type DuplicateDetectionConfig = {
|
||||
|
||||
Reference in New Issue
Block a user