AI: Add vision package and vision API endpoints #127 #1090

These changes allow to configure the computer vision models through an
optional vision.yml configuration file. Note that the API endpoints
are not yet functional and require further work.

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-04-06 23:39:37 +02:00
parent b791896fc6
commit 35e9294d87
74 changed files with 1052 additions and 329 deletions

View File

@@ -30,7 +30,7 @@ func TestWriteFile(t *testing.T) {
assert.True(t, PathExists(dir))
fileErr := WriteFile(filePath, fileData)
fileErr := WriteFile(filePath, fileData, ModeFile)
assert.NoError(t, fileErr)
assert.FileExists(t, filePath)