Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Open AI returns an empty value today. Yesterday I tested this with the same prompt and parameters, and all was fine. The Max tokens configuration yesterday was the same. Where might the error be?
You have dynamic data in the prompt. It won't always be the same length. Looking at your text, it seems like 1999 might be not enough tokens. You could test the output of that prompt by putting the exact same prompt into an email or something like that and counting the words. Or you could put it into OpenAI's API playground tool to test.
See also https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them
Their parameters are not big. They have around 10-12 words usually. And the token estimator shows that 1230. So 1999 should be well enough.
Use a email to output it and double-check with the actual text, not the liquid. Most likely one of your variables is outputting more than you expect.
Yes, this is true, not because of the variables but the prompt itself. With 1 example, it works. But still, this is strange. I have tried the same prompt with the same variables in Zapier, and it returns the value from Open AI. Can this be the Flow limit for sending a prompt to Open AI?
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024