Help us shape the future of Go! Take the 2026 Go Developer Survey

chatbot

command
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

chatbot is an interactive Q&A loop over an embedded markdown corpus.

The knowledge files under knowledge/ are compiled into the binary using the embed package. The agent only sees read-tools (read_file, list_files, search): write_file and delete_file are not registered, so the corpus is immutable at runtime. Defense in depth: vfs/embedfs also rejects mutations.

go run ./examples/chatbot

Set OPENROUTER_API_KEY in the environment first.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL