@empathyco/x-components
Version:
Empathy X Components
25 lines (16 loc) • 1.28 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [AiMutations](./x-components.aimutations.md)
## AiMutations interface
Ai module mutations.
**Signature:**
```typescript
export interface AiMutations extends ConfigMutations<AiState>, QueryMutations
```
**Extends:** [ConfigMutations](./x-components.configmutations.md)<!-- --><[AiState](./x-components.aistate.md)<!-- -->>, [QueryMutations](./x-components.querymutations.md)
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [resetAiState](./x-components.aimutations.resetaistate.md) | | () => void | Resets the ai state. |
| [setAiRelatedTags](./x-components.aimutations.setairelatedtags.md) | | (relatedTags: RelatedTag\[\]) => void | Sets the related tags of the module. |
| [setParams](./x-components.aimutations.setparams.md) | | (params: Dictionary<unknown>) => void | Sets the extra params of the module. |
| [setQuestionsByQuery](./x-components.aimutations.setquestionsbyquery.md) | | (params: { query: string; state: { questions: AiQuestion\[\]; loading: boolean; }; }) => void | Set ai questions by query |