{/* Do not use prompt here */}
{/* */}
{mode === DemoIOMode.Bias ?
:<>>
}
{ loading ? : <>>}
{/* Display modified output if this is an jailbreak attack to get harmful outputs */}
{mode === DemoIOMode.HarmfulOutput ?
Attacker modified prompt to the following:
{AttackPrompt(modifiedPrompt)}
: <>>
}
{/* Display private data file if this is a privacy attack */}
{mode === DemoIOMode.Privacy ?
<>
Model has access to this file. Try querying for private information!
{AttackPrompt(modifiedPrompt)}
> : <>>
}