@nexus-ui/nexus-ui-theme, carousel, and hover-card (or use the CLI so they install automatically).Generating content with citations…
) : null} {object?.content ? (
{object.content.split(/(\[\d+\])/).map((part, index) => {
const citationMatch = part.match(/\[(\d+)\]/);
if (citationMatch) {
const citationNumber = citationMatch[1];
const row = object.citations?.find(
(c) => c.number === citationNumber,
);
if (row) {
return (