@empathyco/x-components
Version:
Empathy X Components
29 lines (20 loc) • 1.49 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [AiQuestion](./x-types.aiquestion.md)
## AiQuestion interface
A question is an entity generated by the AI. It contains the question text, the response text and the search queries.
**Signature:**
```typescript
export interface AiQuestion
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [content](./x-types.aiquestion.content.md) | | { responseText?: string; searchQueries: string\[\]; } | |
| [expanded?](./x-types.aiquestion.expanded.md) | | boolean | _(Optional)_ |
| [id](./x-types.aiquestion.id.md) | | string | |
| [metadata](./x-types.aiquestion.metadata.md) | | { origin: string; source: string; createdAt: string; generatedWithModel: string; generatedWithConfig: string; } | |
| [responseText?](./x-types.aiquestion.responsetext.md) | | string | _(Optional)_ |
| [suggestionImageUrl?](./x-types.aiquestion.suggestionimageurl.md) | | string | _(Optional)_ |
| [suggestionText](./x-types.aiquestion.suggestiontext.md) | | string | |
| [tagging?](./x-types.aiquestion.tagging.md) | | { toolingDisplay: string; toolingDisplayClick: string; searchQueries: Record<string, { toolingDisplay: string; toolingDisplayAdd2Cart: string; toolingDisplayClick: string; }>; } | _(Optional)_ |
| [type](./x-types.aiquestion.type.md) | | string | |