Skip to content

Latest commit

 

History

History
11 lines (5 loc) · 615 Bytes

github2llm.md

File metadata and controls

11 lines (5 loc) · 615 Bytes

Githug 2 LLM prompt

I am interested in how to be able to paste a code project into an LLM for modificaiton, improvements, bug fixes. The first step is to create a text prompt from the directory with code.

from github repo to LLM prompt:

a python script that can recursively parse a directory of files with specific files extensions and copy all the files into a text string. Must be able to take as argument the directory string, and must have a variable to specify multiple file extensions. It should save the text file as prompt.txt

https://gist.github.com/culurciello/f7fcbcfe783fbf84b4b4bcd370e23af6