@empathyco/x-components
Version:
Empathy X Components
23 lines (14 loc) • 1.04 kB
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 |
| --- | --- | --- | --- |
| [fetchAndSaveAiSuggestions](./x-components.aiactions.fetchandsaveaisuggestions.md) | | (request: AiSuggestionsRequest \| null) => void | Requests suggestions for the module ai. |
| [fetchAndSaveAiSuggestionsSearch](./x-components.aiactions.fetchandsaveaisuggestionssearch.md) | | (request: AiSuggestionsSearchRequest \| null) => void | Requests suggestions search for the module ai. |
| [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. |