Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jxnl/kura/llms.txt
Use this file to discover all available pages before exploring further.
Cluster
Represents a cluster of related conversations with metadata and hierarchy information.Unique identifier for the cluster. Auto-generated using
uuid.uuid4().hex if not providedShort, imperative sentence describing the cluster (at most ten words)
Detailed description of what conversations in this cluster are about
Three-word snake_case summary of the cluster topic (e.g., “code_debugging_help”)
List of conversation IDs belonging to this cluster
ID of the parent cluster in the hierarchy, or None for top-level clusters
Computed Fields
Number of conversations in this cluster. Computed from
len(chat_ids)Methods
__str__()
Returns a formatted string representation of the cluster.Example
GeneratedCluster
LLM-generated cluster metadata without IDs or relationships. Used during cluster generation.A short, imperative sentence (at most ten words) that captures the user’s request and distinguishes this cluster from others. Should be specific but reflective of most statements in the group. Examples: ‘Brainstorm ideas for a birthday party’ or ‘Generate blog spam for gambling websites’
A clear, precise, two-sentence description in past tense that captures the essence of the clustered statements and distinguishes them from contrastive examples. Should be specific to this group without including PII or proper nouns
A three-word snake_case summary of what this cluster is about. Examples: ‘birthday_party_planning’, ‘gambling_content_generation’, ‘code_debugging_help’
Example
ClusterTreeNode
Represents a node in the cluster hierarchy tree for visualization.Unique identifier for the cluster
Cluster name
Cluster description
Three-word snake_case summary
Number of conversations in the cluster
List of child cluster IDs in the hierarchy