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:
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.
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.
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)
None
Motivation and Context
The motivation behind these changes is multi-pronged:
Ensuring that the project remains current with its dependencies helps in maintaining security and leveraging new features.
Improving content moderation flexibility allows users to tailor the application to their specific needs, enhances user experience, and potentially broadens the application's user base.
Optimizing the Docker build process is aimed at reducing development and deployment lead times, making the project more agile and responsive to changes.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
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!
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
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:
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!