Persona

import { Persona, clip } from '@hanzo/ui/chat'

No examples yet.

Types

export type Emotion =
| 'idle'
| 'listening'
| 'thinking'
| 'speaking'
| 'happy'
| 'sad'
| 'surprised'
export type Scenes = { idle: string } & Partial<Record<Emotion, string>>
export interface PersonaProps extends Omit<BackdropProps, 'mode' | 'clips'> {
scenes: Scenes
/** What the persona is doing right now. Defaults to idle. */
emotion?: Emotion
}

Exports

Personacliptype Emotiontype PersonaPropstype Scenes