> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# ChatClarificationQuestionsEvent

- Package: [@gooddata/sdk-ui-gen-ai](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-gen-ai/index.md)
- Kind: type-alias
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-gen-ai/src/store/events.ts

An event emitted when clarification questions are presented, answered, or cancelled.

**Signature:**

```typescript
export type ChatClarificationQuestionsEvent = BaseEvent & {
    type: "chatClarificationQuestions";
    interactionId: string;
    questions: ChatClarificationQuestion[];
    responses?: Record<string, string> | null;
};
```
**References:** [BaseEvent](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-gen-ai/sdk-ui-gen-ai.baseevent/index.md), [ChatClarificationQuestion](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-gen-ai/sdk-ui-gen-ai.chatclarificationquestion/index.md)

## Remarks

`responses` is `undefined` when the questions are first presented, contains the selected answers after submission, and is `null` when the user cancels the questions by sending another message.
