Skip to content

Automatically generates detailed pull request messages with LLMs based on commit history

License

Notifications You must be signed in to change notification settings

ruankie/auto-pr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub stars GitHub last commit

auto-pr

Description

Automatically generates detailed pull request message suggestions based on commit history. This is done using GPT type large language models (LLMs) through Azure's OpenAI Service and LangChain.

Setup

  1. Set up your virtual env with all the required dependencies
    poetry install
  2. Set your environment variables in a file called .env (see .env.example)
  3. Create a resource and deploy a model using Azure OpenAI

Usage

Note: Whe using notebooks, make sure you activate the correct poetry environment. You can set your Python kernel to the value that gets returned when you run poetry run which python.

  1. Browse the example notebooks in notebooks/

Useful Resources