Skip to content

v5.1

Latest

Choose a tag to compare

@Kaydonbob03 Kaydonbob03 released this 11 Jan 22:10
· 6 commits to main since this release

Release Notes for v5.1

Enhancements:

  1. OpenAI API Key Handling and Endpoints:

    • Refactored code across scripts to fetch the OpenAI API key securely from environment variables, enhancing security practices.
    • Updated OpenAI client initialization logic to support recent API changes, ensuring compatibility with the new DALL-E 3 and GPT-4 models.
  2. Image Generation (Imagegeneration.py) - Version 2.0:

    • Updated the API calling logic to align with the new OpenAI API endpoints for Dall-E-3.
    • Improved directory creation for image downloads and error handling.
  3. Chat Completion (InputtoResponse.py) - Version 2.0:

    • Modified the API calling logic for the GPT API.
    • Implemented a graceful fallback mechanism for chat completions, starting with GPT-4-1106-preview, then GPT-4, and finally falling back to GPT-3.5-turbo if access to the earlier models fails. This ensures broader user access compatibility.
  4. Documentation and Release Management:

    • Updated the README file to reflect the latest changes.
    • Revised the changelog to include the new updates.
    • Published the new GitHub release - v5.1.0.

These updates collectively enhance the system's performance, user experience, and reliability, marking significant strides in the ongoing development efforts of the GPT-Work project.