@bridgeline-digital/hawksearch-handlebars-ui
    Preparing search index...

    Interface ConversationalSearchComponentConfig

    interface ConversationalSearchComponentConfig {
        prompt?: { instructions?: string };
        query?: string;
        shadowDom?: boolean;
        strings?: { placeholder?: string; reset?: string; send?: string };
        template?: string;
        useCustomStyle?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    prompt?: { instructions?: string }

    Type Declaration

    • Optionalinstructions?: string

      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.

    true

    strings?: { placeholder?: string; reset?: string; send?: string }

    Type Declaration

    • Optionalplaceholder?: string

      Enter a message...

    • Optionalreset?: string

      Reset

    • Optionalsend?: string

      Send

    template?: string

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

    For more information, see Components.

    useCustomStyle?: boolean

    Specifies whether the component should be rendered in the avoid injecting the css to head of the page. This would only effect when shadowDom false