UNPKG

@empathyco/x-components

Version:
29 lines (20 loc) 1.49 kB
<!-- 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 | 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&lt;string, { toolingDisplay: string; toolingDisplayAdd2Cart: string; toolingDisplayClick: string; }&gt;; } | _(Optional)_ | | [type](./x-types.aiquestion.type.md) | | string | |