@empathyco/x-components
Version:
Empathy X Components
78 lines (35 loc) • 1.17 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SemanticQueriesActions](./x-components.semanticqueriesactions.md)
## SemanticQueriesActions interface
SemanticQueries store actions.
**Signature:**
```typescript
export interface SemanticQueriesActions
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[fetchAndSaveSemanticQuery](./x-components.semanticqueriesactions.fetchandsavesemanticquery.md)
</td><td>
</td><td>
(request: SemanticQueriesRequest \| null) => void
</td><td>
Requests the semantic queries similar to the requested query and saves them in the state.
</td></tr>
<tr><td>
[fetchSemanticQuery](./x-components.semanticqueriesactions.fetchsemanticquery.md)
</td><td>
</td><td>
(request: SemanticQueriesRequest \| null) => SemanticQueriesResponse \| null
</td><td>
. Requests the results for a semantic query,
</td></tr>
</tbody></table>