AiResponse
Use the AiResponse component to animate AI-generated content.
Import
import { AiResponse } from '@dynatrace/strato-components-preview/content';
Use cases
Dynamic response
The AiResponse component supports dynamic rendering of AI-generated content.
When the response updates, such as when new content is streamed or generated,
the component animates only the newly added parts of the response. This provides
a smooth and interactive experience for users as the AI response updates in real
time.