Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AICCFinetuneConfig ¶
type AICCFinetuneConfig = domain.AICCFinetuneConfig
type AICCFinetuneCreateCmd ¶
type AICCFinetuneCreateCmd struct { User types.Account Model domain.ModelName Task domain.FinetuneTask domain.AICCFinetuneConfig }
func (*AICCFinetuneCreateCmd) Validate ¶
func (cmd *AICCFinetuneCreateCmd) Validate() error
type AICCFinetuneDTO ¶
type AICCFinetuneIndex ¶
type AICCFinetuneIndex = domain.AICCFinetuneIndex
type AICCFinetuneInternalService ¶
type AICCFinetuneInternalService interface {
UpdateJobDetails(*AICCFinetuneIndex, *JobDetail) error
}
func NewAICCFinetuneInternalService ¶
func NewAICCFinetuneInternalService( repo repository.AICCFinetune, ) AICCFinetuneInternalService
type AICCFinetuneService ¶
type AICCFinetuneService interface { Create(*AICCFinetuneCreateCmd) (string, error) UpdateJobDetail(*AICCFinetuneIndex, *JobDetail) error List(user types.Account, model domain.ModelName) ([]AICCFinetuneSummaryDTO, error) Get(*AICCFinetuneIndex) (AICCFinetuneDTO, string, error) Delete(*AICCFinetuneIndex) error Terminate(*AICCFinetuneIndex) error GetLogDownloadURL(*AICCFinetuneIndex) (string, string, error) GetOutputDownloadURL(*AICCFinetuneIndex) (string, string, error) CreateAICCFinetuneJob(*AICCFinetuneIndex, string, bool) (bool, error) UploadData(*UploadDataCmd) (UploadDataDTO, error) }
func NewAICCFinetuneService ¶
func NewAICCFinetuneService( af aiccfinetune.AICCFinetuneServer, sender message.AICCFinetuneMessageProducer, uploader uploader.DataFileUploader, repo repository.AICCFinetune, maxTrainingRecordNum int, ) AICCFinetuneService
type AICCFinetuneSummaryDTO ¶
type ComputeDTO ¶
type ComputeDTO struct {
ImageUrl string `json:"image_url"`
}
type UploadDataCmd ¶
type UploadDataDTO ¶
Click to show internal directories.
Click to hide internal directories.