Skip to content

wojtek3/PromptGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Prompt Generator

This repository contains a Python script (PromptGen.py) that generates a prompt for AI models from a given directory. The prompt includes:

  1. A tree structure showing the hierarchy of directories and subdirectories.
  2. The path of each file in the directory, followed by its contents.

Requirements

  • Python 3.7 or higher
    It is recommended to use Python 3.7 or newer.

Usage

  1. Clone this repository or download the script PromptGen.py.
  2. Navigate to the directory where PromptGen.py is located.
  3. Run the script:
    python PromptGen.py

About

A simple tool to generate prompts from projects with multiple files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages