RAHB-REALTORS-Association / chat2gpt

Chat²GPT is a ChatGPT (and DALL·E 2/3, and ElevenLabs) chat bot for Google Chat. 🤖💬
https://chat2gpt.oncornerstone.app
MIT License
11 stars 1 forks source link

Moderation toggle, Dockerfile improvements, version bumps #132

Closed justinh-rahb closed 7 months ago

justinh-rahb commented 7 months ago

Summary

This PR includes a series of updates aimed at enhancing functionality and improving the build process of our project. Notably, it introduces an OpenAI Moderation API toggle, updates package versions, refines the content moderation settings, and refines the Dockerfile for improved build efficiency.

Description

The changes in this PR are multifaceted:

  1. OpenAI Moderation API Toggle: This addition allows users to enable or disable the OpenAI Moderation API according to their needs, providing flexibility in content moderation practices.
  2. Version Bumps: We've updated the versions of several GitHub actions, and the Python runtime to ensure our project stays up-to-date with the latest features and security patches.
  3. Dockerfile Refactor: The Dockerfile has been overhauled to optimize the build process, potentially reducing build times and improving efficiency during development and deployment.

Related Issue(s)

Motivation and Context

The motivation behind these changes is multi-pronged:

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist:

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!