# Generate text (AI)based on larger dataset/document

**URL:** <https://community.glideapps.com/t/generate-text-ai-based-on-larger-dataset-document/67035>\
**Category:** Ask for Help\
**Created:** [October 17, 2023, 4:55am UTC](https://community.glideapps.com/t/generate-text-ai-based-on-larger-dataset-document/67035 "2023-10-17T04:55:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krivo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/krivo/32/5363_2.png) [@Krivo](https://community.glideapps.com/u/Krivo)\
**Post date:** [October 17, 2023, 4:55am UTC](https://community.glideapps.com/t/generate-text-ai-based-on-larger-dataset-document/67035/1 "2023-10-17T04:55:06Z")

</div>

Extracting text from a larger document works great with glide AI but afterwards I would like to format it as json (or summarize the text). Glide AI has a 4000 token limit so it won’t work on a larger document. OpenAI can do 16k token documents but I also get stuck there. Anyone has been working on larger documents to get around such restrictions?  
Would love suggestions 🕶

---

<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:** [October 17, 2023, 2:07pm UTC](https://community.glideapps.com/t/generate-text-ai-based-on-larger-dataset-document/67035/2 "2023-10-17T14:07:49Z")

</div>

I think the only way to do this is work with the Claude API, which allows 100k tokens.
