Package: pgpt
ProgramEngineerGPTProgramEngineerGPT is an interactive command line tool that leverages the power of AI to assist developers with code comprehension, exploration, and generation. It serves as a virtual assistant that can analyze codebases, answer queries about code, and even help in setting up new coding projects.Table of ContentsAboutGetting StartedUsageExamplesAcknowledgmentsAboutProgramEngineerGPT is an AI-powered tool designed to assist developers with code comprehension, exploration, and generation. ProgramEngineerGPT can be used as a comprehensive developer's assistant that can understand code at a deep level and can provide valuable insights and assistance. Whether you're trying to understand a complex codebase or starting a new project, ProgramEngineerGPT can be run using two modes of operationAnalyze ModeDevelop Mode.Analyze ModeIn the 'Analyze' mode, ProgramEngineerGPT will thoroughly examine a provided code repository. You will be engaged in an interactive chat session where you can pose queries about the codebase. This could include questions about its structure, dependencies, functions, or any other aspect. The AI will respond with insights, helping you gain a deeper understanding of the code repository and how it funtions.Develop ModeIn the 'Develop' mode, ProgramEngineerGPT can assist you in setting up a new coding project. This includes planning the project structure, setting up the development environment, and other setup tasks. You will enter an interactive session where you will provide a project description of the program/project you want to create. After you provide a project description, the AI system will ask further questions to gather more information about your project. Your responses will guide the AI in providing the best assistance for your project.Getting StartedThese instructions will get you a copy of the project up and running for development and testing purposes.PrerequisitesDeeplake AccountOpenAI AccountSetupInstructions on how to get ProgramEngineerGPT configured locally.Before running, it is important that you have the correct environmental variables set.
Setup required Environmental Variables. You can either change thetest.envto.envand add the required environmental variables.If you would like to export them locally, please use the following keys.Linux or MacOS# OpenAI APIexportOPENAI_API_KEY="<OPENAI_API_KEY>"# Deeplake APIexportACTIVELOOP_TOKEN="<ACTIVELOOP_API_KEY>"exportDEEPLAKE_ACCOUNT_NAME="<DEEPLAKE_ACCOUNT_NAME>"Windows# OpenAI APIsetxOPENAI_API_KEY<OPENAI_API_KEY># Deeplake APIsetxACTIVELOOP_TOKEN<ACTIVELOOP_API_KEY>
setxDEEPLAKE_ACCOUNT_NAME<DEEPLAKE_ACCOUNT_NAME>pip packagepipinstallpgptlocal packageClone the repository#Download Repo and Navigate to Directorygitclonehttps://github.com/hackedbyagirl/ProgramEngineerGPt.gitcdProgramEngineerGPT
pipinstall-e.
pgptpython programClone the repository#Download Repo and Navigate to Directorygitclonehttps://github.com/hackedbyagirl/ProgramEngineerGPt.gitcdProgramEngineerGPTInstall all the required packagespython3 -m pip install -r requirements.txtUsageYou can start using ProgramEngineerGPT by running the main script and selecting the mode of operation. Depending on the mode, you will be asked to provide further details such as the code repository URL or the project description.However, this program does depend on API keys so make sure to set them!# Python packagepgpt# Python programpython3programengineergpt.pyExamplesProgram LaunchMain Program Home ScreenAnalyze ModeLoading Code of Current Working DirectoryEngaging in conversation about the codeDevelop ModeProviding Developer Mode with a Project DescriptionEngaging with Developer AI AssistantContributingContributions are welcome! Please refer to the contributing guide provided in the repository.LicensePlease refer to the license file provided in the repository.AcknowledgementsInspirationengineer-gpt