OpenAI Developer Forum
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
Prompting with the chat/completions API against a large transcript file
API
5
3455
October 4, 2023
Summarizing and extracting structured data from long text
Prompting
gpt-4
,
api
,
token
,
limitations
14
11837
February 19, 2024
The length of the embedding contents
API
48
32372
December 13, 2023
Preprocessing - I just don’t get it!
API
15
2948
January 3, 2024
Use file with text-davinci-001 to increase tokens in prompt
Prompting
13
2541
December 15, 2023