OpenAI Developer Community
Ways to automate breaking a large piece of input into chunks that fit in the 4096 token constraint?
API
aikanarov
May 21, 2023, 4:02am
3
You can use many techniques like map reduce, refine, etc… I use langchain for it.
1 Like
Summarizing and extracting structured data from long text
show post in topic
Related topics
Topic
Replies
Views
Activity
Logic behind uploading a large document
API
chatgpt
8
1091
June 4, 2024
Prompting with the chat/completions API against a large transcript file
API
5
3550
October 4, 2023
The length of the embedding contents
API
48
33430
December 13, 2023
Summarizing and extracting structured data from long text
Prompting
gpt-4
,
api
,
token
,
limitations
14
12333
February 19, 2024
Preprocessing - I just don’t get it!
API
15
2992
January 3, 2024