# Open AI - Ask question about table

**URL:** <https://community.glideapps.com/t/open-ai-ask-question-about-table/61740>\
**Category:** Report a Bug\
**Created:** [May 13, 2023, 11:54pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740 "2023-05-13T23:54:18Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 13, 2023, 11:54pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/1 "2023-05-13T23:54:18Z")

</div>

Hi everyone,  
I use the Open AI integration in my app and I have a problem with the « Ask a question about table ».  
I use a text entry component for the prompt and a button to generate the answer.  
The function works great on my computer, when I test the question, I have a answer. Wonderful!  
BUT, when I try on my phone, the button doesn’t work and I don’t have the answer. It’s so weird…  
Maybe someone have the same problem…  
Thanks for your help,  
Laurent

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 14, 2023, 8:42am UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/2 "2023-05-14T08:42:11Z")

</div>

Hello,  
I would like to show you my problem with screen shot :

To my computer, that is works : [Loom | Free Screen & Video Recording Software | Loom](https://www.loom.com/share/52efcd1bb04e4777a212659b0af25292)

This is the screen shot of my Action :

 ![Capture d’écran 2023-05-14 à 10.40.33](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/6/f61b004d97cee93167602a4f0877eaf3bc03fda7.jpeg)

But, on my phone, it doesn’t works… 😔

@DJP, maybe you have an answer about this problem?

Thanks for your help,

Have a nice day

Laurent

---

<div class="post-metadata">

**Author:** ![DJP](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/djp/32/62545_2.png) [@DJP](https://community.glideapps.com/u/DJP)\
**Post date:** [May 15, 2023, 3:42pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/3 "2023-05-15T15:42:05Z")

</div>

Hey, Laurent! You need to make sure the data from the source table is loaded in your published app. This is so that the data can be referenced by the OpenAI integration

The way you can do this is by creating a collection or a screen from data that is not visible to your end users. You can do this with visibility conditions

Let me know if that works!

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 15, 2023, 4:54pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/4 "2023-05-15T16:54:44Z")

</div>

Hi David!  
Thanks for your answer.  
For the screen, The data is my user’s table source. It’s correctly loaded in the app because I have the elements of the table.  
In my case, I use a filter « email is signed in users » to create a personal navigation in the screen view.  
I will try your solution and i tell you if It works…  
Thanks a lot,  
Laurent

---

<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:** [May 15, 2023, 4:59pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/5 "2023-05-15T16:59:12Z")

</div>

Does your Users table have Row Owners applied anywhere?

---

<div class="post-metadata">

**Author:** ![DJP](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/djp/32/62545_2.png) [@DJP](https://community.glideapps.com/u/DJP)\
**Post date:** [May 15, 2023, 5:11pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/6 "2023-05-15T17:11:37Z")

</div>

No problem! The key thing is that the table that is being used to answer questions is loaded into the app. Let me know if if adding that table makes the OpenAI integration work in the app

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 15, 2023, 7:14pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/7 "2023-05-15T19:14:53Z")

</div>

Hi Darren,  
It was the case before but I delete the row owners.

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 15, 2023, 7:51pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/8 "2023-05-15T19:51:11Z")

</div>

David,  
I make a collection, with the date “Utilisateurs” (Users) and it doesn’t work in the app. I don’t understand where is the problem… 😔

 ![Capture d’écran 2023-05-15 à 21.44.55](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/1/3125076b189a5d142897c88cfd1ef37c6680c6e4.jpeg)

---

<div class="post-metadata">

**Author:** ![DJP](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/djp/32/62545_2.png) [@DJP](https://community.glideapps.com/u/DJP)\
**Post date:** [May 15, 2023, 8:49pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/9 "2023-05-15T20:49:12Z")

</div>

This is the table the action is using to answer questions? You confirmed it it working in the builder?

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 15, 2023, 9:06pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/10 "2023-05-15T21:06:29Z")

</div>

Yes, this is the same table and I confirm, all it work in the builder normally, I have an answer to my question but not on the phone, in the app. That’s really weird…  
I don’t think forget something, I don’t have a row owner or specific column in this table.  
I use few relations and 1 query column

---

<div class="post-metadata">

**Author:** ![DJP](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/djp/32/62545_2.png) [@DJP](https://community.glideapps.com/u/DJP)\
**Post date:** [May 15, 2023, 10:19pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/11 "2023-05-15T22:19:29Z")

</div>

Let me DM you, and maybe we can get on a call to debug this

---

<div class="post-metadata">

**Author:** ![Jeremy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeremy/32/29121_2.png) [@Jeremy](https://community.glideapps.com/u/Jeremy)\
**Post date:** [May 16, 2023, 10:19pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/12 "2023-05-16T22:19:50Z")

</div>

Possibly found root cause for your issue. Fix in progress.

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 17, 2023, 3:58am UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/13 "2023-05-17T03:58:16Z")

</div>

Thanks a lot Jeremy!

---

<div class="post-metadata">

**Author:** ![Jeremy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeremy/32/29121_2.png) [@Jeremy](https://community.glideapps.com/u/Jeremy)\
**Post date:** [May 17, 2023, 9:16pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/14 "2023-05-17T21:16:25Z")

</div>

Just deployed some fixes - let us know if you still see weird behavior

---

<div class="post-metadata">

**Author:** ![Laurent\_Maleville](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/laurent_maleville/32/8643_2.png) [@Laurent\_Maleville](https://community.glideapps.com/u/Laurent_Maleville)\
**Post date:** [May 17, 2023, 10:09pm UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/15 "2023-05-17T22:09:53Z")

</div>

Hey Jeremy,  
Thanks a lot for your message.  
It works now in the app and in the builder! 🤩  
This functionality is AWE-SOME!! 🥳 I can take information quickly to my students and i can help them.  
I’ll keep you informed if i see a weird behavior, no problem.  
Thanks for all @Jeremy @DJP ,  
See you  
Laurent

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [May 18, 2023, 8:54am UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/16 "2023-05-18T08:54:45Z")

</div>

Impeccable timing, thanks Jeremy.

---

<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:** [May 19, 2023, 8:55am UTC](https://community.glideapps.com/t/open-ai-ask-question-about-table/61740/17 "2023-05-19T08:55:44Z")

</div>

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