mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Related issues: #5233 (reset command), #5234 (schedule for models) Signed-off-by: Michael Mayer <michael@photoprism.app>
16 lines
447 B
Go
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
|
|
}
|