Git Product home page Git Product logo

ai-reply's Introduction

ai-reply

A GitHub App built with Probot that A bot that would reply any new created issue or pull request

usage

  1. register a github app
  2. run the server
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> ghcr.io/leoquote/ai-reply:main
# please see .env.example to see the full supported environments
  1. install the app to your repository
  2. write a config file at .github/ai-reply.yml
global:
  prompt: "你好,我是AI助手,有什么可以帮助你的?"
  wiki: "https://github.com/LeoQuote/ai-reply/wiki" # optional, if added, wiki content would be appended when requesting openai
  model: "gpt-3.5-turbo"

developement

Setup

# Install dependencies
npm install

# Run the bot
npm start

Docker

# 1. Build container
docker build -t ai-reply .

# 2. Start container
docker run -e APP_ID=<app-id> -e PRIVATE_KEY=<pem-value> ai-reply

Contributing

If you have suggestions for how ai-reply could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2024 Leo

ai-reply's People

Contributors

leoquote avatar

Stargazers

Keery Nie avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.