ChatGPT Access to GitHub Repositories — Part 2
10 min readDec 19, 2023
In Part 1, we identified two challenges with using uploaded data in Knowledge for ChatGPT:
- Size and File Number Constraints: Users who engage in serious or extensive work with ChatGPT will likely encounter limitations in terms of the size and the number of files they can upload. This constraint can be a significant hindrance for comprehensive or large-scale projects.
- Inefficiency with Changing Data: The process of managing dynamic or frequently changing data in uploaded files is cumbersome. Users need to manually delete and re-upload files every time there’s a change in the data, which is particularly inefficient for data that is in continuous development or modification, such as code or ongoing writing projects.
To address these issues, the we suggested an alternative approach: utilizing an API to access files stored online. In particular, using an OpenAPI schema to access Github repositories. Part 2 will explain how to list the public repositories of a user and retrieve the files contained within.