Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTemplate, _ = Parse("{{ .Prompt }}")
Functions ¶
func Identifiers ¶ added in v0.2.6
Identifiers walks the node tree returning any identifiers it finds along the way
Types ¶
type Values ¶ added in v0.2.2
type Values struct {
Messages []api.Message
api.Tools
Prompt string
Suffix string
Think bool
// ThinkLevel contains the thinking level if Think is true and a string value was provided
ThinkLevel string
// whether or not the user explicitly set the thinking flag (vs. it being
// implicitly false). Templates can't see whether `Think` is nil
IsThinkSet bool
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.