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

Prototype-v0.0.37

Compare
Choose a tag to compare
@teleprint-me teleprint-me released this 22 Oct 02:27
· 221 commits to main since this release
v0.0.37
e72db10

Prototype-v0.0.37: Fixes for Augmented Memory Management, addressing issues from v0.0.36

Version 0.0.37 Summary of Key Changes:

  1. 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.

  2. FunctionCall Object: Introduced the FunctionCall object to represent function calls, including their name and optional JSON Schema representing arguments.

  3. 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.

  4. Token Counting: The TokenManager now correctly counts tokens in a message, including function calls, ensuring accurate token management.

  5. Session Management: The SessionManager class has been updated to handle and enqueue function calls and their results, maintaining proper message order.

  6. Function Factory: The FunctionFactory class now handles function arguments and execution more robustly, considering function calls within messages.

  7. 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.

  8. Augmented Memory Management: Augmented Memory Management is integrated into the CLI, allowing users to enable or disable this feature.

  9. 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.