Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Breakdown ¶
type Breakdown struct {
Goal string `json:"goal" jsonschema:"title=Goal,description=The goal of the task,required"`
Breakdown string `json:"breakdown" jsonschema:"title=Breakdown,description=The breakdown of the task,required"`
Requirements []Requirement `json:"requirements" jsonschema:"title=Requirements,description=The requirements of the task,required"`
}
func (*Breakdown) SystemPrompt ¶
type Discussion ¶
type Discussion struct {
Topic string `json:"topic" jsonschema:"title=Topic,description=The topic to discuss,required"`
NextSpeaker string `json:"next_speaker" jsonschema:"title=Next Speaker,description=The name of the next speaker,required"`
}
Discussion is a process where multiple AI agents discuss a topic and come to a consensus, which will be the final response of the process.
func (*Discussion) SystemPrompt ¶
func (discussion *Discussion) SystemPrompt(key string) string
SystemPrompt returns the system prompt for the Discussion process.
type Labelling ¶
type Labelling struct {
TicketID int `json:"ticket_id" jsonschema:"required,description=The id of the ticket to label"`
LabelIDs []int `json:"label_ids" jsonschema:"required,description=The ids of the labels to apply to the ticket"`
}
func NewLabelling ¶
func NewLabelling() *Labelling
func (*Labelling) GenerateSchema ¶
func (*Labelling) ListLabels ¶
func (*Labelling) SystemPrompt ¶
type Labels ¶
type Labels struct {
Data []struct {
ID int `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
Color string `json:"color"`
SortOrder int `json:"sort_order"`
Archived any `json:"archived"`
} `json:"data"`
Links struct {
First string `json:"first"`
Last string `json:"last"`
Prev any `json:"prev"`
Next any `json:"next"`
} `json:"links"`
Meta struct {
CurrentPage int `json:"current_page"`
From int `json:"from"`
LastPage int `json:"last_page"`
Links []struct {
URL any `json:"url"`
Label string `json:"label"`
Active bool `json:"active"`
} `json:"links"`
Path string `json:"path"`
PerPage int `json:"per_page"`
To int `json:"to"`
Total int `json:"total"`
} `json:"meta"`
}
type Requirement ¶
type Requirement struct {
Title string `json:"title" jsonschema:"title=Title,description=The title of the requirement,required"`
Description string `json:"description" jsonschema:"title=Description,description=The description of the requirement,required"`
Processes []string `` /* 169-byte string literal not displayed */
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.