aiccfinetuneimpl

package
v1.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cfg *Config) error

func NewAICCFinetune

func NewAICCFinetune(cfg *Config) aiccfinetune.AICCFinetuneServer

func NewAICCUploadService

func NewAICCUploadService() *service

Types

type Config

type Config struct {
	Endpoint           string    `json:"endpoint"              required:"true"`
	JobDoneStatus      []string  `json:"job_done_status"       required:"true"`
	CanTerminateStatus []string  `json:"can_terminate_status"  required:"true"`
	OBSConfig          OBSConfig `json:"obs_config"  required:"true"`
}

type OBSConfig

type OBSConfig struct {
	Prefix    string `json:"prefix"`
	Bucket    string `json:"bucket"         required:"true"`
	Endpoint  string `json:"endpoint"       required:"true"`
	AccessKey string `json:"access_key"     required:"true"`
	SecretKey string `json:"secret_key"     required:"true"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL