#Completion from JSON file
3 messages · Page 1 of 1 (latest)
GPT cannot parse such a large file directly. You need to use either code interpreter, or noteable plugin.
You can always attach it to system, or include it as content.
{"role": "system", "content": "You are a helpful assistant. use the following information to assist answering user questions:\n" + formatted_json}```
3.5 Standard Token Limit
```4096```
From GPT:
```The number of tokens in a JSON file can vary depending on the structure and content of the file. However, as a rough estimate, you can assume that a JSON file consumes around 10 tokens per kilobyte (KB) on average.
So, for a 139 KB JSON file, the approximate number of tokens would be:
139 KB * 10 tokens/KB = 1390 tokens```