Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

429 B
Raw Blame
// Package build holds compile-time-injected build metadata.
//
// Values are set via -ldflags="-X github.com/Tencent/WeKnora/cli/internal/build.Version=..." at link time;
// the Makefile's `version` target wires them up.
package build

var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

// Info returns a snapshot of the build metadata.
func Info() (version, commit, date string) {
	return Version, Commit, Date
}