Hi there,
I want to use openAI text generation in order to generate a biography of famous people. The idea is to customize the prompt with metafields variables that contain first- and lastname information of the person.
Background. We run an autograph store with unique items.
so this is my current prompt
Write a 500 words and 6 paragraphs biography text about
{{ product.metafields.customAttributes.vorname }} {{ product.metafields.customAttributes.nachname }}
without a title formatted in HTML only with
tags
The prompt works fine without the metafield variables. I tried some variants in syntax but shopify keeps saying
“customAttributes” is invalid. Replace this variable.
So what would be the right syntax?
Thanks for your help folks
Florian