<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-types](./x-types.md) &gt; [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

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[content](./x-types.aiquestion.content.md)


</td><td>


</td><td>

{ responseText?: string; searchQueries: string\[\]; }


</td><td>


</td></tr>
<tr><td>

[expanded?](./x-types.aiquestion.expanded.md)


</td><td>


</td><td>

boolean


</td><td>

_(Optional)_


</td></tr>
<tr><td>

[id](./x-types.aiquestion.id.md)


</td><td>


</td><td>

string


</td><td>


</td></tr>
<tr><td>

[metadata](./x-types.aiquestion.metadata.md)


</td><td>


</td><td>

{ origin: string; source: string; createdAt: string; generatedWithModel: string; generatedWithConfig: string; }


</td><td>


</td></tr>
<tr><td>

[responseText?](./x-types.aiquestion.responsetext.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_


</td></tr>
<tr><td>

[suggestionImageUrl?](./x-types.aiquestion.suggestionimageurl.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_


</td></tr>
<tr><td>

[suggestionText](./x-types.aiquestion.suggestiontext.md)


</td><td>


</td><td>

string


</td><td>


</td></tr>
<tr><td>

[tagging?](./x-types.aiquestion.tagging.md)


</td><td>


</td><td>

{ toolingDisplay: string; toolingDisplayClick: string; searchQueries: Record&lt;string, { toolingDisplay: string; toolingDisplayAdd2Cart: string; toolingDisplayClick: string; }&gt;; }


</td><td>

_(Optional)_


</td></tr>
<tr><td>

[type](./x-types.aiquestion.type.md)


</td><td>


</td><td>

string


</td><td>


</td></tr>
</tbody></table>

