UNPKG

@empathyco/x-components

Version:
22 lines (13 loc) 852 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [AiActions](./x-components.aiactions.md) ## AiActions interface Ai module actions. **Signature:** ```typescript export interface AiActions ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [fetchAiQuestions](./x-components.aiactions.fetchaiquestions.md) | | (request: AiQuestionsRequest \| null) =&gt; AiQuestion\[\] \| null | Requests a new set of questions for the module ai, and returns them. | | [setUrlParams](./x-components.aiactions.seturlparams.md) | | (urlParams: [UrlParams](./x-components.urlparams.md)<!-- -->) =&gt; void | Checks if the URL has params on it and then updates the state with these values. |