Personalize conversation for your user by passing personal data to Molin automatically. Also, instruct the AI dynamically with custom AI instructions.
<script>
tag, placed anywhere inside the <head></head>
section of your website:
window.molinSettings
.
<script>
snippet above exists inside the <head></head>
section of your website before the browser emits the load event. Ideally, it should be rendered on the server.<molin-shop-ai>
or <molin-shop-ai-chat>
, you can assign data programmatically:
userData
is an object, customInstructions
is a string. Please see below the data format section.