Files
photoprism/internal/ai/vision/openai/defaults.go
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

16 lines
447 B
Go

package openai
import "github.com/photoprism/photoprism/internal/ai/vision/schema"
var (
// DefaultModel is the model used by default when accessing the OpenAI API.
DefaultModel = "gpt-5-mini"
// DefaultResolution is the default thumbnail size submitted to the OpenAI.
DefaultResolution = 720
)
// LabelsSchema returns the canonical label schema string consumed by OpenAI models.
func LabelsSchema() string {
return schema.LabelsDefault
}