chatbot

command
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 15 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