Commit Graph

20 Commits

Author SHA1 Message Date
Michael Mayer
d4aef5cf49 AI: Rename vision.ApiRequestOptions to vision.ModelOptions
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-12-02 17:05:22 +01:00
Michael Mayer
a02162846b AI: Improve model configuration and documentation #5123 #5232 #5322
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-24 14:41:13 +01:00
Michael Mayer
53da18754b CI: Apply Go linter recommendations to "ai/vision" package #5330
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-22 11:15:17 +01:00
Michael Mayer
d76acdb69f AI: Generate Captions & Labels using the OpenAI Responses API #5322
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-11-14 11:10:40 +01:00
Michael Mayer
a921f82a17 Pkg: Move /service/http/... to /http/... and add package /http/dns
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-19 21:08:48 +02:00
Michael Mayer
e5dc335bcf AI: Include NSFW flag & score when generating labels with Ollama #5232
Related issues: #5233 (reset command), #5234 (schedule for models)

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-10-05 04:23:36 +02:00
Michael Mayer
8a7c61f467 AI: Generate Labels using the Ollama API #5232
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-28 13:29:49 +02:00
Michael Mayer
cf06f52025 AI: Add vision/ollama and vision/openai packages for service integration
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-28 11:07:43 +02:00
Michael Mayer
023fbe3a1d Pkg: Add service/cluster package & rename media/http → service/http #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-13 12:58:28 +02:00
Michael Mayer
fccdc50e6e AI: Update ApiRequestOptions in internal/ai/vision/api_request.go #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-01 12:21:38 +02:00
Michael Mayer
ae42af54d8 AI: Generate captions using the Ollama API #5011 #5123
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-07-21 10:43:49 +02:00
Michael Mayer
f6908837ee Vision Client: Allow a custom prompt to be included in requests
see https://github.com/photoprism/photoprism-vision/issues/11

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-09 18:59:28 +02:00
Michael Mayer
7958239f7e Vision Client: Add configured model version to request data #1090
also see https://github.com/photoprism/photoprism-vision/issues/1

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-08 01:19:13 +02:00
Michael Mayer
8189503a69 AI: Add additional vision service API configuration options #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-13 10:58:15 +02:00
Michael Mayer
35bfe0694b API: Disable gzip compression for /api/v1/dl endpoint #127 #1090
Required for compatibility with the Python HTTP client. In addition,
this commit refactors function names and adds tests.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-11 14:13:25 +02:00
Michael Mayer
6fcce84623 AI: Add photoprism-vision test service and caption API client #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-11 01:17:47 +02:00
Michael Mayer
627f4f8d21 AI: Refactor API client in vision package #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-10 21:16:03 +02:00
Michael Mayer
caf3ae1ab5 AI: Refactor use of face embeddings, labels, and nsfw models #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-10 16:49:34 +02:00
Michael Mayer
7f1041c434 Labels: Add image classification service client #127 #1090
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-08 04:14:18 +02:00
Michael Mayer
f3e066af45 AI: Add Vision API service endpoint for image classification #127 #1090
This is a proof of concept and still under development. The other
Vision API endpoints are stubs for testing and not yet functional.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-07 12:19:39 +02:00