Versions in this module Expand all Collapse all v0 v0.2.0 Dec 14, 2024 Changes in this version + func RecommendedPrep(conn *sqlite.Conn) error + type Brain struct + func Open(ctx context.Context, db *sqlitex.Pool) (*Brain, error) + func (br *Brain) Close() error + func (br *Brain) Forget(ctx context.Context, tag, id string) (err error) + func (br *Brain) Learn(ctx context.Context, tag string, msg *brain.Message, tuples []brain.Tuple) (err error) + func (br *Brain) Recall(ctx context.Context, tag string, page string, out []brain.Message) (n int, next string, err error) + func (br *Brain) Speak(ctx context.Context, tag string, prompt []string, w *brain.Builder) error