You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nicholas Arquette b582e41ecf Feature: Added code and modules to create doc string for any python code. It will read text from an existing python file and output it to a new file with a suffix for the llm model that created it. 3 months ago
..
data Feature: Added code and modules to create doc string for any python code. It will read text from an existing python file and output it to a new file with a suffix for the llm model that created it. 3 months ago
README.md Feature: Added code and modules to create doc string for any python code. It will read text from an existing python file and output it to a new file with a suffix for the llm model that created it. 3 months ago
generate_doc_string.py Feature: Added code and modules to create doc string for any python code. It will read text from an existing python file and output it to a new file with a suffix for the llm model that created it. 3 months ago
utils.py Feature: Added code and modules to create doc string for any python code. It will read text from an existing python file and output it to a new file with a suffix for the llm model that created it. 3 months ago

README.md

Script Overview

The documentation will show you how to run the python script generate_doc_string.py. It is designed to take input from an existing python file and create a new one with a suffix ('claude' or 'gpt'). If you do not specify and llm model, it will default to claude.

How to run

conda activate llms
cd <script_location>
python generate_doc_string -fp <full_file_path> -llm <name_of_model>

Show Help Instructions

python generate_doc_string --help

Error Checking

  1. File Path Existence

If the file path doesn't exist, the script will stop running and print out an error.

  1. LLM Model Choice

If you choose something other than 'gpt' or 'claude', it will show and assertion error.