@empathyco/x-components
Version:
Empathy X Components
31 lines (22 loc) • 2.27 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. |
| [setQueries](./x-components.aimutations.setqueries.md) | | (queries: AiSuggestionQuery\[\]) => void | Sets the queries from the streamed response. |
| [setResponseText](./x-components.aimutations.setresponsetext.md) | | (responseText: string) => void | Sets the responseText from the streamed response. |
| [setSuggestionsLoading](./x-components.aimutations.setsuggestionsloading.md) | | (value: boolean) => void | Sets the loading for the suggestions response. |
| [setSuggestionsSearch](./x-components.aimutations.setsuggestionssearch.md) | | (suggestionsSearch: AiSuggestionSearch\[\]) => void | Sets the suggestions search from the suggestions search response. |
| [setSuggestionsSearchLoading](./x-components.aimutations.setsuggestionssearchloading.md) | | (value: boolean) => void | Sets the loading fot the suggestions search response. |
| [setSuggestionText](./x-components.aimutations.setsuggestiontext.md) | | (suggestionText: string) => void | Sets the suggestionText from the streamed response. |
| [setTagging](./x-components.aimutations.settagging.md) | | (tagging: AiSuggestionTagging) => void | Sets the tagging from the streamed response. |