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.
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
1849
June 4, 2024
Prompting with the chat/completions API against a large transcript file
API
5
3817
October 4, 2023
The length of the embedding contents
API
47
36176
November 2, 2023
Summarizing and extracting structured data from long text
Prompting
gpt-4
,
api
,
token
,
limitations
14
13837
February 19, 2024
Preprocessing - I just don’t get it!
API
14
3356
January 6, 2023