Documentation
¶
Overview ¶
Package ai provides a simple interface to interact with AI models. TODO: This is an early stage PoC package
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileList = &fileList{ ToolInfo: schema.ToolInfo{ Name: "file_list", Desc: "List files in the provided directory or the current working directory if none is provided." + "Returns a JSON representation of the files, including their names and metadata.", ParamsOneOf: schema.NewParamsOneOfByParams(map[string]*schema.ParameterInfo{ "directory": { Type: schema.String, Desc: "The directory to list files from. If not provided, the current working directory will be used.", Required: false, }, }), }, }
Functions ¶
This section is empty.
Types ¶
type Ai ¶
type Ai struct {
Input chan api.Message
Output chan Notification
// contains filtered or unexported fields
}
type Notification ¶
type Notification struct{}
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) HasMessages ¶
func (*Session) SystemPrompt ¶
Click to show internal directories.
Click to hide internal directories.