Documentation Index
Fetch the complete documentation index at: https://ahvn.top/llms.txt
Use this file to discover all available pages before exploring further.
String utilities provide compact display helpers plus Markdown builders used by prompts, reports, generated docs, and tests.
1. Keep display text short
Usetruncate or shorten when CLI output, logs, or reports should show a compact preview.
cutoff is negative or the value already fits.
2. Format blocks
Useindent and dedent for generated text blocks. They wrap Python’s text formatting behavior behind one project-level import.
md_block, code_block, file_block, and json_block for fenced Markdown output. Fences expand automatically when the content already contains backticks.
bullet_list, numbered_list, and bullet_dict for compact lists that preserve indentation for multi-line values.
3. Build Markdown sections
Usemd_section to build nested Markdown with stable blank lines and heading levels.
4. Normalize names and text
Usesnake when free-form names must become simple identifiers for diagnostics or generated artifacts.
heavenbase.utils: check_entity_id, check_workspace_id, entity_table_name, and workspace_index_name.
For lightweight matching, is_delimiter, generate_ngrams, resolve_match_conflicts, and asymmetric_jaccard_score are available. normalize_text uses spaCy when en_core_web_sm is installed and raises a clear error otherwise.

