Skip to content

Interface: EnrollSpeakerRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / EnrollSpeakerRequest

Defined in: src/types/speakers.ts:12

Body of POST /api/v1/speakers/enroll — enroll (or re-enroll) a speaker.

audio: string

Defined in: src/types/speakers.ts:14

Base64-encoded audio sample of the speaker (≥ ~3 s of speech).


optional audioMime?: string | null

Defined in: src/types/speakers.ts:16

MIME hint (e.g. "audio/wav") for decoding the sample. Optional.


name: string

Defined in: src/types/speakers.ts:21

Display name for this speaker. Re-enrolling the same (name, variant) pair (case-insensitive) overwrites the existing profile.


optional variant?: string | null

Defined in: src/types/speakers.ts:31

Optional sample label, so one person can hold SEVERAL embeddings ("15-s read-aloud", "meeting 07-30", "sung sample").

A voice is not one point in embedding space: a sung sample is what makes that artist’s other songs match. Several prints that share a name resolve each cluster to the best cosine overall.