Member Junction
    Preparing search index...

    Generates human-readable labels for clusters using an LLM.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Apply LLM-generated labels to the supplied clusters in place. On any failure (prompt missing, LLM error, parse error) the clusters are left untouched and the method resolves without throwing.

      Parameters

      • clusters: ClusterInfo[]

        Cluster summaries to label (mutated in place).

      • points: ClusterPoint[]

        Projected points, used to sample member labels per cluster.

      • OptionalcontextUser: UserInfo

        User context for prompt execution (required server-side).

      • promptName: string = CLUSTER_NAMING_PROMPT_NAME

        Optional override of the naming prompt name.

      Returns Promise<void>