GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

withUserContext()

Home > @gooddata/sdk-backend-spi > IChatThreadQuery > withUserContext

IChatThreadQuery.withUserContext() method

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

Define the user context for the chat thread. For example, what dashboard the user is currently looking at.

Signature:

withUserContext(userContext: IGenAIUserContext): IChatThreadQuery;

Parameters

ParameterTypeDescription
userContextIGenAIUserContext

Returns:

IChatThreadQuery

  • IChatThreadQuery.withUserContext() method
  • Parameters
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 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