```tsx
import {createAiChat, AssistantPersona, PersonaOptions, UserPersona} from '@nlux/core';

const assistantPersona: AssistantPersona = {
    name: 'HarryBotter',
    avatar: 'https://docs.nlkit.com/nlux/images/personas/harry-botter.png',
    tagline: 'Mischievously Making Magic With Mirthful AI!',
};

const avatarElement = document.createElement('span');
avatarElement.innerHTML = '👩';

const userPersona: UserPersona = {
    name: 'Alice',
    avatar: avatarElement
}

const personaOptions: PersonaOptions = {
    assistant: assistantPersona,
    user: userPersona
};

const aiChat = createAiChat().withPersonaOptions(personaOptions);
```
