ChatGPT Access to GitHub Repositories — Part 1

David Such
9 min readDec 13, 2023

GPT Builder allows you to upload files to your custom GPT’s knowledge base. This is useful for including specific information, data, or context that you want the GPT model to use or reference in its responses.

In this environment, you can upload multiple files as long as each individual file does not exceed the 25 MB limit. However, there is a total storage limit for the session, which is approximately 3 GB. You may think that this means you can upload several files, each up to 25 MB, until the total storage used reaches this 3 GB cap. Unfortunately not, there is also a cap of 20 on the number of files that you can upload, regardless of their size. In effect, the maximum amount of content you can upload is 20 x 25 MB = 500 MB.

Figure 1. Transferring Data between ChatGPT and GitHub [Image Credit: DALL-E]

What’s more, there is a limit on the number of tokens that can be analyzed in uploaded files. The limit is set to ensure efficient processing and to manage computational resources effectively. When analyzing text from an uploaded file, the maximum number of tokens that can be processed in a single analysis is 4096 tokens. This includes all words…

--

--

David Such
David Such

Written by David Such

Reefwing Software · Embedded Systems Engineer · iOS & AI Development · Robotics · Drones · Arduino · Raspberry Pi · Flight Control