hi, i’m new to bubble and i’m building an app that’s essentially a ChatGPT wrapper.

users give inputs and the app calls the OpenAI API and returns the results.

i’m installed the chatGPT API plugin, and i think i’ve also made all the correct data type and option sets. but i don’t know how to use workflows to build the logic. could someone please help me figure it out?

what i’m trying to achieve: user types a prompt, hits the Send button, and the result should show in the repeated group (as shown in the image).

i’m using a Type called Message, with the following options:

  • Content: List of texts
  • Conversation: List of conversations
  • Role: MessageRole (option set)
  • Timestamp: Date

i also have an option set called MessageRole with the options User and Assistant (for the AI)

This topic was automatically closed after 70 days. New replies are no longer allowed.