# Where is 'complete prompt'?

**URL:** <https://community.glideapps.com/t/where-is-complete-prompt/68363>\
**Category:** Ask for Help\
**Created:** [December 5, 2023, 3:11am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363 "2023-12-05T03:11:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckinross](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@ckinross](https://community.glideapps.com/u/ckinross)\
**Post date:** [December 5, 2023, 3:11am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/1 "2023-12-05T03:11:28Z")

</div>

After watching several tutorials, and reading the documentation, I’m stuck with a silly question. Where is the OpenAI ‘complete prompt’ or ‘sent to ChatGPT’ field?

I can confirm that the OpenAI API key in place within Glide, and my OpenAI account has sufficient funds and tokens.

Using the ‘complete chat’ action, the information within my TextEntry is being sent to OpenAI and not the prompt itself.

May I ask for help?

 ![Screenshot 2023-12-04 at 7.03.28 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/d/8d4e1b3d8bb897f2589035cfb8e1a9eef79fa5d6.jpeg)  
 ![Screenshot 2023-12-04 at 7.02.59 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/5/d58c53d4e5d9231e19c4c76c95548d90cf998a9e.jpeg)  
 ![Screenshot 2023-12-04 at 7.02.21 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/d/0df69d282e0c9683681920f419a72a4116e07d3a.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 5, 2023, 3:27am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/2 "2023-12-05T03:27:32Z")

</div>

This might point you in the right direction.

> [@Only subset of OpenAI Integration shown](https://community.glideapps.com/t/only-subset-of-openai-integration-shown/68244/2):
>
> Use Complete chat with instructions summarize the text The additional OpenAI columns have been deprecated

---

<div class="post-metadata">

**Author:** ![ckinross](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@ckinross](https://community.glideapps.com/u/ckinross)\
**Post date:** [December 5, 2023, 3:46am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/3 "2023-12-05T03:46:59Z")

</div>

Thanks Jeff. I had found this link but incorrectly assumed that documentation existed somewhere on how to adapt using the available prompts.  
Have you seen instructions that decrypt the following solution?

 ![Screenshot 2023-12-04 at 7.45.11 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/0/30c7f4f599acaed9225a6dd459676096693c9038.png)

I’m likely missing something rather small and obvious to other people:-)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 5, 2023, 3:32pm UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/4 "2023-12-05T15:32:49Z")

</div>

I haven’t used any of the AI features in Glide so I’m just spitballing here, but I think Glide may have just simplified how the OpenAI integration works. Rather than them prefilling a prompt for you, they just leave it open for you to ask ChatGPT whatever you want. Build your own prompt specific to your needs and join it to any other input text.

Since this is a recent change, I think the documentation hasn’t been updated yet.

---

<div class="post-metadata">

**Author:** ![ckinross](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@ckinross](https://community.glideapps.com/u/ckinross)\
**Post date:** [December 5, 2023, 6:05pm UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/5 "2023-12-05T18:05:07Z")

</div>

Thank you.

When using the ‘complete chat’ feature, I can verify that a prompt is going to OpenAI (Confirmed through billing) but that it appears that nothing is being received back. My sense is that information is being returned, but that my settings are incorrect somewhere to permit me to see them.  
Screen captures of the current settings are shown below.  
Do you see where I may have gone awry?  
Thanks

 ![Screenshot 2023-12-05 at 10.02.15 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/4/a47f9e1c394f35bfb97fb2d25536ef838243ce25.jpeg)  
 ![Screenshot 2023-12-05 at 10.01.36 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/0/5068392cc7d2f3de6c5f7299f94368f0608d357a.png)  
 ![Screenshot 2023-12-05 at 10.01.11 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/c/bcd5d9f4780164a9e4f94574ec052c2b8a1292ca.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 5, 2023, 6:31pm UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/6 "2023-12-05T18:31:25Z")

</div>

I’m wondering if you have a timing issue. Where and when are you calling that action?

---

<div class="post-metadata">

**Author:** ![ckinross](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@ckinross](https://community.glideapps.com/u/ckinross)\
**Post date:** [December 5, 2023, 8:03pm UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/7 "2023-12-05T20:03:33Z")

</div>

The action is triggered through the ‘Submit’ button for the form. It’s odd that the ‘send’ functionality appears to be working, OpenAI is trying to do something (based on the billing), but nothing gets returned.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 5, 2023, 8:58pm UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/8 "2023-12-05T20:58:25Z")

</div>

Actions run very quickly. I think you are not allowing for a result to come back, so the action finishes before it has a chance to return a value. I personally don’t like doing any actions with On Submit. It’s too fragile.

I would do one of two things:

- Place a Wait for Condition action after your OpenAI action and set it to wait until Result is not empty.
- Or switch to using an OpenAI column instead of an action.

---

<div class="post-metadata">

**Author:** ![ckinross](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@ckinross](https://community.glideapps.com/u/ckinross)\
**Post date:** [December 6, 2023, 4:40am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/10 "2023-12-06T04:40:29Z")

</div>

Thank you. The ‘wait for’ option works perfectly.  
The next challenge is that the image generated by DALL-E is saved to my data but not displayed on the screen in the app.

Partial progress! I can sense this is almost working.  
How do I get the image to display on the screen?  
Thank you 🙏

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 6, 2023, 4:41am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/11 "2023-12-06T04:41:37Z")

</div>

> [@ckinross](#):
>
> How do I get the image to display on the screen?

With an Image component?

---

<div class="post-metadata">

**Author:** ![ckinross](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@ckinross](https://community.glideapps.com/u/ckinross)\
**Post date:** [December 6, 2023, 4:56am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/12 "2023-12-06T04:56:13Z")

</div>

OMG it was that easy 🤪

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [December 13, 2023, 4:56am UTC](https://community.glideapps.com/t/where-is-complete-prompt/68363/13 "2023-12-13T04:56:29Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
