mechanic

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {
	SystemPrompt string `json:"systemPrompt" jsonschema:"title=SystemPrompt,description=The new system prompt you are setting"`
	Temperature  string `json:"temperature" jsonschema:"title=Temperature,description=The new temperature you are setting"`
	TopP         string `json:"topP" jsonschema:"title=TopP,description=The new topP you are setting"`
	TopK         string `json:"topK" jsonschema:"title=TopK,description=The new topK you are setting"`
}

type Consideration

type Consideration struct {
	Consideration string `json:"consideration" jsonschema:"title=Consideration,description=The consideration you are making,required"`
	Impact        string `json:"impact" jsonschema:"title=Impact,description=The impact of the consideration,required"`
}

type FineTuning

type FineTuning struct {
	Instruction string `json:"instruction" jsonschema:"title=Instruction,description=The instruction that was provided to the agent,required"`
	Response    string `json:"response" jsonschema:"title=Response,description=The response that the agent provided,required"`
}

type Metric

type Metric struct {
	Name           string          `json:"name" jsonschema:"title=Name,description=The name of the agent you are evaluating,required"`
	Role           string          `json:"role" jsonschema:"title=Role,description=The role of the agent you are evaluating,required"`
	Observations   []Observation   `json:"observations" jsonschema:"title=Observations,description=Observations of the agent you are evaluating,required"`
	Considerations []Consideration `` /* 128-byte string literal not displayed */
	Changes        []Change        `json:"changes" jsonschema:"title=Changes,description=Changes to make to the agent you are evaluating"`
	FineTuning     []FineTuning    `json:"fineTuning" jsonschema:"title=FineTuning,description=High quality instruction -> response pairs to use for fine-tuning"`
}

type Observation

type Observation struct {
	Metric string `json:"metric" jsonschema:"title=Metric,description=The metric you are observing,required"`
	Value  string `json:"value" jsonschema:"title=Value,description=The value of the metric,required"`
}

type Process

type Process struct {
	Metrics []Metric `json:"metrics" jsonschema:"title=Metrics,description=Metrics to monitor,required"`
}

func (*Process) GenerateSchema

func (process *Process) GenerateSchema() interface{}

Jump to

Keyboard shortcuts

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