mb_tasks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AITaskLibrary

type AITaskLibrary struct {
	TaskStrID             string                                           `db:"-" json:"taskStrID,omitempty"`
	TaskID                int                                              `db:"task_id" json:"taskID,omitempty"`
	MaxTokensPerTask      int                                              `db:"max_tokens_per_task" json:"maxTokensPerTask"`
	TaskType              string                                           `db:"task_type" json:"taskType"`
	TaskName              string                                           `db:"task_name" json:"taskName"`
	TaskGroup             string                                           `db:"task_group" json:"taskGroup"`
	TokenOverflowStrategy string                                           `db:"token_overflow_strategy" json:"tokenOverflowStrategy"`
	Model                 string                                           `db:"model" json:"model"`
	Temperature           float64                                          `db:"temperature" json:"temperature"`
	MarginBuffer          float64                                          `db:"margin_buffer" json:"marginBuffer"`
	Prompt                string                                           `db:"prompt" json:"prompt"`
	Schemas               []*mb_json_schemas.JsonSchemaDefinition          `json:"schemas,omitempty"`
	SchemasMap            map[string]*mb_json_schemas.JsonSchemaDefinition `json:"schemasMap,omitempty"`
	ResponseFormat        string                                           `db:"response_format" json:"responseFormat"`
	CycleCount            int                                              `db:"cycle_count" json:"cycleCount,omitempty"`
	RetrievalDependencies []mb_search.RetrievalItem                        `json:"retrievalDependencies,omitempty"`
	EvalFns               []mb_evals.EvalFn                                `json:"evalFns,omitempty"`
}

Jump to

Keyboard shortcuts

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