```ts
import { toggleGeneralAIOnboarding } from '@affine/core/components/affine/ai-onboarding/apis';
// show
// toggleGeneralAIOnboarding();
toggleGeneralAIOnboarding(true);
// dismiss
toggleGeneralAIOnboarding(false);
```
```ts
import { toggleGeneralAIOnboarding } from '@affine/core/components/affine/ai-onboarding/apis';
// show
// toggleGeneralAIOnboarding();
toggleGeneralAIOnboarding(true);
// dismiss
toggleGeneralAIOnboarding(false);
```