Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
InternalGRPCPort int `yaml:"internalGrpcPort"`
OllamaPort int `yaml:"ollamaPort"`
ObjectStore ObjectStoreConfig `yaml:"objectStore"`
Debug DebugConfig `yaml:"debug"`
ModelManagerServerWorkerServiceAddr string `yaml:"modelManagerServerWorkerServiceAddr"`
}
Config is the configuration.
type DebugConfig ¶ added in v0.2.0
type DebugConfig struct {
Standalone bool `yaml:"standalone"`
// BaseModels is a list of base models to pull. The model names follow HuggingFace's.
// This is only used in standalone mode.
BaseModels []string `yaml:"baseModels"`
}
DebugConfig is the debug configuration.
type ObjectStoreConfig ¶ added in v0.2.0
type ObjectStoreConfig struct {
S3 S3Config `yaml:"s3"`
}
ObjectStoreConfig is the object store configuration.
func (*ObjectStoreConfig) Validate ¶ added in v0.2.0
func (c *ObjectStoreConfig) Validate() error
Validate validates the object store configuration.
Click to show internal directories.
Click to hide internal directories.