mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 08:44:04 +01:00
AI: Generate Labels using the Ollama API #5232
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -21,6 +21,10 @@ import (
|
||||
|
||||
type Files = []string
|
||||
|
||||
const (
|
||||
FormatJSON = "json"
|
||||
)
|
||||
|
||||
// ApiRequestOptions represents additional model parameters listed in the documentation.
|
||||
type ApiRequestOptions struct {
|
||||
NumKeep int `yaml:"NumKeep,omitempty" json:"num_keep,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user