https://github.com/pymarcus/auto_gpt
Simple project to ask questions to gpt. Basically, it makes asynchronous requests to github repositories
https://github.com/pymarcus/auto_gpt
Last synced: 4 months ago
JSON representation
Simple project to ask questions to gpt. Basically, it makes asynchronous requests to github repositories
- Host: GitHub
- URL: https://github.com/pymarcus/auto_gpt
- Owner: PyMarcus
- Created: 2023-09-27T15:38:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-03T22:17:38.000Z (about 2 years ago)
- Last Synced: 2023-11-03T23:23:36.889Z (about 2 years ago)
- Language: Python
- Size: 4.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auto_gpt
Simple project to ask questions to gpt. Basically, it makes asynchronous requests to github repositories
### How does it work?
Basically, it will read the csv file that contains the https paths to the codes, on github. Once this is done, asynchronous requests will be made, with the user's CPU cores number for these links, in order to download them, to the _downloaded_ folder.
As a result, a question will be added before each code and sent to the gpt chat, via API query - you will need to use an access token, available at: https://platform.openai.com/account/api- keys.
Finally, a .csv file will be created and can be opened as a spreadsheet to consult the results (respostas_do_gpt.csv).
### How to run:
```bash
python -m venv .venv
```
```bash
source .venv/bin/activate
```
```bash
pip install -r requirements.txt
```
```bash
python /data/run.py
```
```bash
mkdir downloaded
```
```bash
python main.py
```
### observation:
A version of Python that supports asynchronous modules is required.
Tests performed with python3.11, but compatible with python 3.8 +