API Reference

This page is generated from exported docstrings in the package. It covers the stable package surface for configuration, bundle IO, checkpointing, generation, chat helpers, behavior scoring, and Flux/Lux backend entry points.

The v9 chatbot training scripts live under tools/ and are documented in the README and current chatbot docs rather than as exported package API.

KeemenaLM.Core.resolve_bundleMethod

Resolve a bundle source to a local bundle directory path.

Sources can be:

  • a bundle directory containing bundle.json
  • a release-artifact root containing bundle/bundle.json
  • an official model key from available_models()
source
KeemenaLM.Core.resolve_model_artifactMethod

Resolve a full model artifact root.

For the v9 chatbot artifact this root contains bundle/, tokenizer_bundle/, and metadata. Bundle-only local directories are accepted for compatibility.

source