UNPKG

@empathyco/x-components

Version:
31 lines (22 loc) 2.27 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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)<!-- -->&lt;[AiState](./x-components.aistate.md)<!-- -->&gt;, [QueryMutations](./x-components.querymutations.md) ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [resetAiState](./x-components.aimutations.resetaistate.md) | | () =&gt; void | Resets the ai state. | | [setAiRelatedTags](./x-components.aimutations.setairelatedtags.md) | | (relatedTags: RelatedTag\[\]) =&gt; void | Sets the related tags of the module. | | [setParams](./x-components.aimutations.setparams.md) | | (params: Dictionary&lt;unknown&gt;) =&gt; void | Sets the extra params of the module. | | [setQueries](./x-components.aimutations.setqueries.md) | | (queries: AiSuggestionQuery\[\]) =&gt; void | Sets the queries from the streamed response. | | [setResponseText](./x-components.aimutations.setresponsetext.md) | | (responseText: string) =&gt; void | Sets the responseText from the streamed response. | | [setSuggestionsLoading](./x-components.aimutations.setsuggestionsloading.md) | | (value: boolean) =&gt; void | Sets the loading for the suggestions response. | | [setSuggestionsSearch](./x-components.aimutations.setsuggestionssearch.md) | | (suggestionsSearch: AiSuggestionSearch\[\]) =&gt; void | Sets the suggestions search from the suggestions search response. | | [setSuggestionsSearchLoading](./x-components.aimutations.setsuggestionssearchloading.md) | | (value: boolean) =&gt; void | Sets the loading fot the suggestions search response. | | [setSuggestionText](./x-components.aimutations.setsuggestiontext.md) | | (suggestionText: string) =&gt; void | Sets the suggestionText from the streamed response. | | [setTagging](./x-components.aimutations.settagging.md) | | (tagging: AiSuggestionTagging) =&gt; void | Sets the tagging from the streamed response. |