ghostdrive1's picture
Upload folder using huggingface_hub
0b9dc2e verified
Raw
History Blame Contribute Delete
1.44 kB
import type { TFunction } from 'i18next';
import type { Tour } from 'onborda/dist/types';
export const CHAT_TOUR_NAME = 'chat-onboarding';
export const buildChatTour = (t: TFunction): Tour => ({
tour: CHAT_TOUR_NAME,
steps: [
{
icon: null,
title: t('tour.createAgent.title'),
content: t('tour.createAgent.content'),
selector: '#tour-create-agent',
side: 'bottom',
showControls: false,
pointerPadding: 8,
pointerRadius: 8,
},
{
icon: null,
title: t('tour.createSession.title'),
content: t('tour.createSession.content'),
selector: '#tour-create-session',
side: 'right',
showControls: false,
pointerPadding: 6,
pointerRadius: 6,
},
{
icon: null,
title: t('tour.llmSelect.title'),
content: t('tour.llmSelect.content'),
selector: '#tour-llm-select',
side: 'bottom',
showControls: false,
pointerPadding: 6,
pointerRadius: 8,
},
{
icon: null,
title: t('tour.permissionMode.title'),
content: t('tour.permissionMode.content'),
selector: '#tour-permission-mode',
side: 'bottom-right',
showControls: false,
pointerPadding: 6,
pointerRadius: 8,
},
{
icon: null,
title: t('tour.chatInput.title'),
content: t('tour.chatInput.content'),
selector: '#tour-chat-input',
side: 'top',
showControls: false,
pointerPadding: 6,
pointerRadius: 16,
},
],
});