Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

PyGPTPrompt v0.0.34

Compare
Choose a tag to compare
@teleprint-me teleprint-me released this 28 Sep 18:41
· 285 commits to main since this release
v0.0.34
1ba0543

Release Title: PyGPTPrompt v0.0.34 - Enhanced Functionality and Clarity

Release Body:
I am excited to announce the release of PyGPTPrompt version 0.0.34, featuring several improvements to enhance functionality and code clarity. Here's a summary of the key changes in this release:

  • Version Update (v0.0.34): I've updated the version number in 'init.py' and 'pyproject.toml' to reflect version 0.0.34.

  • Chat Script Refactoring: The chat script has undergone significant refactoring. I've introduced the FunctionManager and SessionManager to improve organization and clarity. This change simplifies context and function handling, making it easier to manage complex chat interactions.

  • Logging Enhancement: The 'quantize.py' script now uses an improved logging mechanism, resulting in better script clarity and more informative logs.

  • Package Version Updates: I've updated various package versions, including 'selenium,' 'huggingface_hub,' 'chromadb,' 'llama-cpp-python,' 'openai,' and 'gguf.' These updates ensure compatibility with the latest libraries and dependencies.

  • Parameter Management and TypeDict Handling: Parameter management has been enhanced with explicit parameter naming for improved readability. I've also addressed message handling for TypeDict objects, improving code readability and message processing in sequence managers.

  • FunctionManager Introduction: I've added the FunctionManager class, which is responsible for processing function responses. This manager facilitates the execution of functions, generation of function response messages, and their integration into the session manager. It introduces support for handling and processing function output in the chat model.

  • Improved Code Organization: Several refactoring efforts have improved code organization, system message handling, and message output flexibility. These changes enhance code maintainability and readability.

  • SessionManager Implementation: I've introduced the SessionManager class, streamlining the management of chat sessions by handling both ContextWindow and Transcript managers. This addition simplifies session handling logic and provides a cleaner API for managing chat sessions.

  • PDFProcessor Refactoring: The PDFProcessor class has been refactored for chat model-based text chunking, improving its functionality and efficiency.

  • Documentation Improvements: I've updated documentation across various modules, including logger configuration, class docstrings, UML diagrams, and type definitions, to enhance code readability and maintainability.

  • Version Bump (v0.0.33): A minor version bump to 0.0.33 was also included in this release to reflect the latest changes and updates.

I encourage all users to update to PyGPTPrompt v0.0.34 to take advantage of these enhancements. Thank you for your continued support and contributions to the PyGPTPrompt project. If you encounter any issues or have suggestions for further improvements, please don't hesitate to reach out and share your feedback.