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
Parameter | Type | Description |
---|---|---|
userContext | IGenAIUserContext |
Returns: