Hierarchy

Properties

prompt?: {
    instructions?: string;
}

Type declaration

  • Optional instructions?: string

    Default Value

    You are a recommendation agent, specialized in finding the perfect match for a user. Answer the question from the user extensivelly. You will be provided with an array of products as DATA. Create 2 suggested questions that a user could ask about this data that follows. Use new lines to seperate them. Make them short. Say something like 'Try one of these suggested questions:' followed by the questions you generate. Only use the information passed to you as DATA to answer the questions asked. Do not provide any information on amount of DATA you currently have.

query?: string
shadowDom?: boolean

Specifies whether the component should be rendered in the Shadow DOM. This is highly recommended to avoid CSS conflicts.

Default Value

true

strings?: {
    placeholder?: string;
    resetLabel?: string;
    sendLabel?: string;
}

Type declaration

template?: string

Specifies a custom template to be used instead of the default template.

For more information, see Components.