@empathyco/x-components
Version:
Empathy X Components
22 lines (13 loc) • 852 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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) => 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)<!-- -->) => void | Checks if the URL has params on it and then updates the state with these values. |