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?
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024