# File submission as an input for AI

**URL:** https://community.glideapps.com/t/file-submission-as-an-input-for-ai/74446
**Category:** Ask for Help
**Created:** [June 28, 2024, 10:22am UTC](https://community.glideapps.com/t/file-submission-as-an-input-for-ai/74446 "2024-06-28T10:22:07Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Miroslav\_Madaric](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miroslav_madaric/32/20852_2.png) [@Miroslav\_Madaric](https://community.glideapps.com/u/Miroslav_Madaric)
#### Post date: [June 28, 2024, 10:22am UTC](https://community.glideapps.com/t/file-submission-as-an-input-for-ai/74446/1 "2024-06-28T10:22:07Z")

</div>

ChatGPT allows to upload text file (doc or pdf) as an input for AI analyse. Glide allows only text in the AI input field. Is it possible to get AI result based on the content of file uploaded or linked in the spreadsheet cell as an AI input?

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 28, 2024, 11:39pm UTC](https://community.glideapps.com/t/file-submission-as-an-input-for-ai/74446/2 "2024-06-28T23:39:59Z")

</div>

I think not at the moment. The closest I can think of, to keep things solely in Glide, is probably extracting text from the doc that is uploaded, then add that text to the prompt as context.

---

<div class="post-metadata">

### Author: ![Miroslav\_Madaric](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miroslav_madaric/32/20852_2.png) [@Miroslav\_Madaric](https://community.glideapps.com/u/Miroslav_Madaric)
#### Post date: [June 29, 2024, 1:29pm UTC](https://community.glideapps.com/t/file-submission-as-an-input-for-ai/74446/3 "2024-06-29T13:29:08Z")

</div>

Oh my, friend! You shouldn’t answer so wrongly to my stupid question! 🙂  
I asked in a manner “First shoot, then think!”. Of course this is possible within Glide, we have AI action: document2text!!! Works perfectly with modest size limitations!

Now I have performed the following:

1. upload the government program for next mandate (50 pages were to long, so I cut it into parts 5-10 pages)
2. Ask for AI doc2text, works perfectly
3. Request the action plan from this program with defined spreadsheet columns, in CSP delimited with semicolon.

Works perfectly!

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [June 29, 2024, 1:37pm UTC](https://community.glideapps.com/t/file-submission-as-an-input-for-ai/74446/4 "2024-06-29T13:37:11Z")

</div>

That’s wonderful!

---

<div class="post-metadata">

### Author: ![Miroslav\_Madaric](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/miroslav_madaric/32/20852_2.png) [@Miroslav\_Madaric](https://community.glideapps.com/u/Miroslav_Madaric)
#### Post date: [June 29, 2024, 1:49pm UTC](https://community.glideapps.com/t/file-submission-as-an-input-for-ai/74446/5 "2024-06-29T13:49:57Z")

</div>

One could omit step 2, then doesn’t work. Stupid AI suggests manual text extracting from the file. Obviously is the AI not aware of AI doc2text function! 🙂
