aitaskbuilder

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Error messages
	ErrAtLeastOneInstructionRequired = "at least one instruction must be provided"
	ErrBatchIDRequired               = "batch ID is required"
	ErrBatchNotFound                 = "batch not found"
	ErrBothInstructionInputsProvided = "cannot specify both instructions file (-f) and JSON string (-j)"
	ErrDatasetIDRequired             = "dataset ID is required"
	ErrDatasetNotFound               = "dataset not found"
	ErrInstructionInputRequired      = "either instructions file (-f) or JSON string (-j) must be provided"
	ErrNameRequired                  = "name is required"
	ErrTaskIntroductionRequired      = "task introduction is required"
	ErrTaskNameRequired              = "task name is required"
	ErrTaskStepsRequired             = "task steps is required"
	ErrTasksPerGroupMinimum          = "tasks per group must be at least 1"
	ErrWorkspaceIDRequired           = "workspace ID is required"
)

Variables

This section is empty.

Functions

func NewAITaskBuilderCommand

func NewAITaskBuilderCommand(client client.API, w io.Writer) *cobra.Command

NewAITaskBuilderCommand creates a new `aitaskbuilder` command

func NewBatchCreateCommand added in v0.0.57

func NewBatchCreateCommand(client client.API, w io.Writer) *cobra.Command

func NewBatchInstructionsCommand added in v0.0.57

func NewBatchInstructionsCommand(client client.API, w io.Writer) *cobra.Command

NewBatchInstructionsCommand creates a new command for creating AI Task Builder instructions.

func NewBatchSetupCommand added in v0.0.57

func NewBatchSetupCommand(client client.API, w io.Writer) *cobra.Command

func NewBatchTasksCommand added in v0.0.57

func NewBatchTasksCommand(client client.API, w io.Writer) *cobra.Command

func NewBatchesCommand added in v0.0.57

func NewBatchesCommand(client client.API, w io.Writer) *cobra.Command

NewBatchesCommand creates a new `batch` command

func NewCreateDatasetCommand added in v0.0.57

func NewCreateDatasetCommand(client client.API, w io.Writer) *cobra.Command

NewCreateDatasetCommand creates a new command for creating datasets

func NewDatasetUploadCommand added in v0.0.57

func NewDatasetUploadCommand(client client.API, w io.Writer) *cobra.Command

NewDatasetUploadCommand creates a new command for uploading to an AI Task Builder dataset.

func NewDatasetsCommand added in v0.0.57

func NewDatasetsCommand(client client.API, w io.Writer) *cobra.Command

NewDatasetsCommand creates a new `dataset` command

func NewGetBatchCommand

func NewGetBatchCommand(client client.API, w io.Writer) *cobra.Command

func NewGetBatchStatusCommand

func NewGetBatchStatusCommand(client client.API, w io.Writer) *cobra.Command

func NewGetBatchesListCommand added in v0.0.57

func NewGetBatchesListCommand(client client.API, w io.Writer) *cobra.Command

func NewGetDatasetStatusCommand

func NewGetDatasetStatusCommand(client client.API, w io.Writer) *cobra.Command

func NewGetResponsesCommand

func NewGetResponsesCommand(client client.API, w io.Writer) *cobra.Command

Types

type BatchCreateOptions added in v0.0.57

type BatchCreateOptions struct {
	Args             []string
	Name             string
	WorkspaceID      string
	DatasetID        string
	TaskName         string
	TaskIntroduction string
	TaskSteps        string
}

type BatchGetBatchesOptions

type BatchGetBatchesOptions struct {
	Args        []string
	WorkspaceID string
}

type BatchGetOptions

type BatchGetOptions struct {
	Args    []string
	BatchID string
}

type BatchGetResponsesOptions

type BatchGetResponsesOptions struct {
	Args    []string
	BatchID string
}

type BatchGetStatusOptions

type BatchGetStatusOptions struct {
	Args    []string
	BatchID string
}

type BatchInstructionsOptions added in v0.0.57

type BatchInstructionsOptions struct {
	Args             []string
	BatchID          string
	InstructionsFile string
	InstructionsJSON string
}

BatchInstructionsOptions are the options for creating AI Task Builder instructions.

type BatchSetupOptions added in v0.0.57

type BatchSetupOptions struct {
	Args          []string
	BatchID       string
	DatasetID     string
	TasksPerGroup int
}

type BatchTasksOptions added in v0.0.57

type BatchTasksOptions struct {
	Args    []string
	BatchID string
}

type CreateDatasetOptions added in v0.0.57

type CreateDatasetOptions struct {
	Args        []string
	Name        string
	WorkspaceID string
}

CreateDatasetOptions holds the options for creating a dataset

type DatasetGetStatusOptions

type DatasetGetStatusOptions struct {
	Args      []string
	DatasetID string
}

type DatasetUploadOptions added in v0.0.57

type DatasetUploadOptions struct {
	Args      []string
	DatasetID string
	FilePath  string
}

DatasetUploadOptions are the options for uploading to an AI Task Builder dataset.

Jump to

Keyboard shortcuts

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