Chatter Judge is a FastAPI-based module designed by @1chooo (Hugo ChunHo Lin) to provide a simple judging platform integrated with ChatGPT. This module allows users to interact with the ChatGPT model through a web interface, making it easy to submit queries and receive responses.
Fork the chatter-judge
repository into your own workspace.
$ git clone git@github.com:<your_workspace_name>/chatter-judge.git
$ git remote add upstream git@github.com:1chooo/chatter-judge.git
$ git remote -v
origin git@github.com:<your_user_name>/chatter-judge.git (fetch)
origin git@github.com:<your_user_name>/chatter-judge.git (push)
upstream git@github.com:1chooo/chatter-judge.git (fetch)
upstream git@github.com:1chooo/chatter-judge.git (push)
If you have any valuable ideas to contribute, please create a pull request and provide details about the outstanding work you've done.
If you encounter any problems while contributing to this project, please report the issues in the chatter-judge/issues section.
Important
- Run
git stash save
to temporarily stash your local changes. - Run
git fetch upstream
to sync the source project with your local copy. - Run
git checkout main
to switch to the main branch. - Run
git merge upstream/main
to merge the updated remote version into your local copy. If there are no conflicts, the update process is complete. - Run
git stash pop
to apply your temporarily stashed changes back to your working directory. Resolve any conflicts if necessary.
$ cp .env.example .env
# now edit the .env file to set the GEMINI_API_KEY, then:
# build the docker image and run the container
$ docker-compose up -d
# follow the logs
$ docker-compose logs -f
# stop the container but keep the container
$ docker-compose stop
# stop the container and discard the container
$ docker-compose down
$ mkdocs server
$ mkdocs build
# format the code
$ ruff format .
# check the code
$ ruff check .
# apply the autofix
$ ruff check --fix .
Released under MIT by Hugo ChunHo Lin.
This software can be modified and reused without restriction. The original license must be included with any copies of this software. If a significant portion of the source code is used, please provide a link back to this repository.
# api key for gemini 1.0 pro(chatbot)
# token.json for code advice from finetune model