Documentation
¶
Index ¶
Constants ¶
View Source
const ProfileSettingsSectionSlug = "profile-settings"
Variables ¶
This section is empty.
Functions ¶
func CreateGeppettoSections ¶
func CreateGeppettoSections(opts ...CreateOption) ([]schema.Section, error)
CreateGeppettoSections returns settings sections for Geppetto AI settings. If no InferenceSettings are provided via WithInferenceSettings, default settings.NewInferenceSettings() is used.
func NewProfileSettingsSection ¶ added in v0.10.18
func NewProfileSettingsSection(opts ...ProfileSettingsSectionOption) (schema.Section, error)
Types ¶
type CreateOption ¶
type CreateOption func(*createOptions)
CreateOption configures behavior of CreateGeppettoSections.
func WithDefaultsFromInferenceSettings ¶ added in v0.10.17
func WithDefaultsFromInferenceSettings(s *settings.InferenceSettings) CreateOption
WithDefaultsFromInferenceSettings uses the given InferenceSettings for layer defaults.
type ProfileSettings ¶ added in v0.10.18
type ProfileSettingsSectionOption ¶ added in v0.10.18
type ProfileSettingsSectionOption func(*profileSettingsSectionOptions)
func WithProfileDefault ¶ added in v0.10.18
func WithProfileDefault(profile string) ProfileSettingsSectionOption
func WithProfileRegistriesDefault ¶ added in v0.10.18
func WithProfileRegistriesDefault(entries ...string) ProfileSettingsSectionOption
Click to show internal directories.
Click to hide internal directories.