AIFeed
Installation
Section titled “Installation”npm install @sk-web-gui/reactAnvändning
Section titled “Användning”import { AIFeed } from '@sk-web-gui/react';| Prop | Typ | Standard | Beskrivning |
|---|---|---|---|
history | ChatHistory | – | |
showReferences | boolean | – | |
sessionId | string | – | |
avatars | AIFeedAvatarMap | – | |
showFeedback | boolean | – | |
showTitles | boolean | – | |
onGiveFeedback | (value: SessionFeedbackValueEnum) => void | – | |
size | 'sm' | 'lg' | – | |
inverted | boolean | – | |
titles | OriginTitleMap | – | |
getAssistantInfoFromHistory | boolean | – | Get assistant info from history, if existing. |
Storyvarianter
Section titled “Storyvarianter”- Template – standardstory
- InlineReferences – standardstory
- InlineReferencesWithoutUrl – standardstory
- InlineReferencesHidden – standardstory
- Implementation: @sk-web-gui/ai
- Storybook: AIFeed