OptionaldefaultOptionalpromptSpecifies the agent instructions provided to GenAI Bridge
Optionalinstructions?: stringYou 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 a user input and an array of products. Based on the user input and products, determine a maximum of 3 of the most relevant products based on the user input. Do not provide any information about amount of products you're returning.
Optionalschema?: object{ "name": "smartresponse_summary", "description": "Recommedation message and product details which includes name, description, url, price and imageUrl", "strict": true, "schema": { "type": "object", "properties": { "recommendation": { "type": "string" }, "products": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "url": { "type": "string" }, "description": { "type": "string" }, "price": { "type": "number" }, "imageUrl": { "type": "string" } }, "required": [ "name", "url", "description", "price", "imageUrl" ], "additionalProperties": false } } }, "required": [ "recommendation", "products" ], "additionalProperties": false } }
OptionalshadowSpecifies whether the component should be rendered in the Shadow DOM. This is highly recommended to avoid CSS conflicts.
true
OptionalstringsOptionaltemplateSpecifies a custom template to be used instead of the default template.
For more information, see Components.
OptionaluseSpecifies whether the component should be rendered in the avoid injecting the css to head of the page. This would only effect when shadowDom false
Configuration for smartreponse expect the agentId, clientGroupId and apiUrl.