hello everyone
I am experiencing an issue with the Zeroqode OpenAI plugin for Bubble.io when attempting to display the API response in my app. I have set up the plugin to make a request to OpenAI’s API and receive a response, but I am unable to correctly reference and display the resulting data in a text element within a group on my page.
Configuration Details:
I have configured an API call to OpenAI using the Zeroqode plugin.
The API call is triggered by a button click and is intended to retrieve a response based on user input.
In the workflow, I am trying to use the "Display data" action to show the response in a group designated for this purpose.
Issue Encountered:
The dynamic expression to reference the API response, which should be something like Result of step 1 (OpenAI - Generate...)'s choices:first item's message content, is showing up in red in the Bubble editor. This indicates that the expression is either incorrect or not being recognized by Bubble.
I have followed the recommended syntax and made sure that the 'choices' field should contain the response text from OpenAI's API.
Despite this, the expression is not accepted, and I am unsure whether this is due to a data type mismatch, an incorrect data path, a context issue within Bubble, or a potential change in the API or plugin that I may not be aware of.
What I Need:
Guidance on the correct expression or method to reference the OpenAI API response data within the Bubble workflow.
Confirmation on whether the data structure provided by the Zeroqode plugin matches the current OpenAI API response format.
Any additional steps or configuration settings that may be required to display the API response data correctly in Bubble.
I would greatly appreciate your assistance in resolving this matter. Please let me know if you require any further information or if there are troubleshooting steps I can take to provide more context.
thank you