GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.45.0
  • Code samples
  • GitHub

onAskAiAssistant

Home > @gooddata/sdk-pluggable-application-model > IHostUiMountOptions > onAskAiAssistant

IHostUiMountOptions.onAskAiAssistant property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Requests the host to open its AI assistant chat seeded with a question.

Signature:

onAskAiAssistant?: (question: string, userContext?: IGenAIUserContext) => void;

Remarks

Used by host UI affordances that hand a question to the assistant (e.g. the header semantic search "ask AI" action). userContext carries the user's current location when available.

  • IHostUiMountOptions.onAskAiAssistant property
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use