Documentation
¶
Overview ¶
Package runctx builds the context pack for one turn.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsRawSpec ¶
Types ¶
type Builder ¶
type Builder struct {
MaxBytes int
// Tasks are index lines for flows that have a question. Build adds a line when the user text matches its name, question, or answer.
Tasks []string
}
func NewBuilder ¶
type Pack ¶
type Pack struct {
Rules string `json:"Rules"`
Index string `json:"Index"`
Turns []Turn `json:"Turns"`
DescribedOperationID string `json:"DescribedOperationID"`
DescribedDetail string `json:"DescribedDetail"`
Related []string `json:"Related"`
PendingConfirmation *policy.PendingConfirmation `json:"PendingConfirmation"`
Bytes int `json:"Bytes"`
Truncated bool `json:"Truncated"`
}
Click to show internal directories.
Click to hide internal directories.