# How to Large AI File Text Generator

**URL:** <https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229>\
**Category:** Ask for Help\
**Created:** [February 27, 2024, 10:45pm UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229 "2024-02-27T22:45:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Myles\_Chaput](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/myles_chaput/32/62176_2.png) [@Myles\_Chaput](https://community.glideapps.com/u/Myles_Chaput)\
**Post date:** [February 27, 2024, 10:45pm UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/1 "2024-02-27T22:45:47Z")

</div>

Hey Guys,

I recently have dove into the AI sector of the app, its awesome to say the least!

One road block I am encountering is I am trying to feed specific data to the instruct portion in order to return very specific data from documents. More using it as a comprehensive document search engine. I have combined multiple PDF files into a word doc and then pipe that file into the AI generate text instruct section. However some of my files are too large and are exceeding the character limits of the AI

How are you guys overcoming this obstacle without multiple columns of different data. I could categorize the data and have smaller chunks of data, but this involves more user input which is always bad and leads to errors.

---

<div class="post-metadata">

**Author:** ![Joe\_Gabriele](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/joe_gabriele/32/57595_2.png) [@Joe\_Gabriele](https://community.glideapps.com/u/Joe_Gabriele)\
**Post date:** [February 27, 2024, 11:02pm UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/2 "2024-02-27T23:02:47Z")

</div>

Have you tried the Document to Text integration? Might be better than the Generate Text option. Or the Text to JSON?

---

<div class="post-metadata">

**Author:** ![Myles\_Chaput](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/myles_chaput/32/62176_2.png) [@Myles\_Chaput](https://community.glideapps.com/u/Myles_Chaput)\
**Post date:** [February 27, 2024, 11:14pm UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/3 "2024-02-27T23:14:29Z")

</div>

Sorry I should have been more specific, I am using the document to Text, then I feed the output from that to the input of the other AI generate text prompt

---

<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:** [February 27, 2024, 11:30pm UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/4 "2024-02-27T23:30:31Z")

</div>

How many words/tokens are we talking about here? GPT-4 has 10k tokens per minute. On Turbo it’s 300k.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/b/3bb00d3ca12a54c72ef86afdf26751839ed2b9e5.png)

---

<div class="post-metadata">

**Author:** ![Myles\_Chaput](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/myles_chaput/32/62176_2.png) [@Myles\_Chaput](https://community.glideapps.com/u/Myles_Chaput)\
**Post date:** [February 28, 2024, 4:04pm UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/5 "2024-02-28T16:04:56Z")

</div>

I have figured this out, What I Did was create an openAI assistant (this is not free), I trained the assistant on my larger data documents that are combined into one document. Then I will use a webhook from glide to send to the assistant via [make.com](http://make.com), then I will directly edit the glide row I want to see the response in.

waiting on glide to finish the [make.com](http://make.com) integration before I can finish up this automation.

---

<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:** [February 29, 2024, 12:22am UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/6 "2024-02-29T00:22:32Z")

</div>

> [@Myles\_Chaput](#):
>
> What I Did was create an openAI assistant

Just curious, did you do this with the API as well?

---

<div class="post-metadata">

**Author:** ![Myles\_Chaput](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/myles_chaput/32/62176_2.png) [@Myles\_Chaput](https://community.glideapps.com/u/Myles_Chaput)\
**Post date:** [February 29, 2024, 3:35am UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/7 "2024-02-29T03:35:56Z")

</div>

Yes essentially (untested because the glide integration on [make.com](http://make.com) is currently down)

Setup user input prompt in app through text input field. Upon submit send webhook to make that trigger ls your assistant to run with the prompt. Assistant already preloaded with data needed and instructions. Then send the output of assistant to an edit row function to display in the app.

Chatgpt4 turbo seems to be working well albeit not super cheap on my 60,000 token documents. But very effective at pulling information and telling users what to do.

---

<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:** [March 15, 2024, 4:30pm UTC](https://community.glideapps.com/t/how-to-large-ai-file-text-generator/71229/8 "2024-03-15T16:30:20Z")

</div>

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