Prototype-v0.0.37
Prototype-v0.0.37: Fixes for Augmented Memory Management, addressing issues from v0.0.36
Version 0.0.37 Summary of Key Changes:
-
PEP 655 Compliance: The source code for custom types handling messages now adheres to PEP 655 guidelines. This ensures compatibility and proper handling of messages in the application.
-
FunctionCall Object: Introduced the
FunctionCall
object to represent function calls, including their name and optional JSON Schema representing arguments. -
OpenAI Model Integration: In the
OpenAIModel
class, updates were made to correctly process and format function calls and their results, ensuring compatibility with the OpenAI API. -
Token Counting: The
TokenManager
now correctly counts tokens in a message, including function calls, ensuring accurate token management. -
Session Management: The
SessionManager
class has been updated to handle and enqueue function calls and their results, maintaining proper message order. -
Function Factory: The
FunctionFactory
class now handles function arguments and execution more robustly, considering function calls within messages. -
CLI Improvements: Enhancements were made to the command-line interface (
chat.py
) to provide better interactive chat functionality, including input prompts and handling function calls. -
Augmented Memory Management: Augmented Memory Management is integrated into the CLI, allowing users to enable or disable this feature.
-
Version Bump: The application version has been bumped to 0.0.37 to reflect the latest changes and fixes.
These changes collectively improve the functionality and usability of the application, especially in handling function calls and managing messages in an interactive chat environment.