The OpenAI integration allows you to leverage the power of artificial intelligence with OpenAI's language models. These models have the ability to comprehend, produce, and interact with text and images.
You’ll need to create an account on OpenAI if you haven’t already.
In your Glide app, click the Settings icon in the upper-right corner.
Navigate to the Integrations tab and select OpenAI.
Click the Add button.
Copy-paste the OpenAI API key to finish configuring the integration. It will save automatically.
There are many features that become available with the OpenAI integration in Glide. For a deep dive into each one and examples about how to use them, check out our OpenAI and Glide guide.
Identify if the tone of text is positive, negative, or neutral.
Create a question-and-answer feature.
Answers questions about your data.
Generate new ideas and original writing.
Correct the grammar of a block of text.
Extract the main keywords from a block text.
Create images from a text prompt.
Bring ChatGPT into your app and use chat history in answers.
Bring ChatGPT into your app. Ignores chat history in answers.
Turn an audio recording into text.
Turn a text description into a color.
Turn a text description into an emoji.
Summarize long or difficult text.
Generate audio from text.
Each OpenAI feature can be configured in different ways, depending on what you want your Glide app to do. Features can be added to the Data Editor, the Actions Editor, or both. Below is a table with an overview of where each feature can be configured. For details about how to configure each one, click the feature to be taken to our full OpenAI Guide.
Fields setup in the Data Editor
Fields setup in an Action
Question, Source table, Row specifier, Additional context, Model tweaks, Answer
Prompt, Model, Model tweaks
Prompt, Model, Model tweaks, Result
Prompt, Image output
Prompt, Message, Model, Model tweaks
Message history, Prompt, Message, Session ID, Model, Model tweaks, Result
Audio file, Text
For detailed setup instructions and examples for each feature, check out our full guide on OpenAI and Glide.