The Azure AI Assistant Tool is experimental Python application and middleware designed to simplify the development, experimentation, testing, and debugging of OpenAI assistants.
Changed ConversationThreadClient so that old image files are kept on thread
Change ConversationMessage and AsyncConversationMessage classes to support multiple FileMessage instances per instance
Change max tokens default value to 1000
Add contains_file_id method and remove contains_image_file_id from Conversation and AsyncConversation classes
Fixed issue where image uploaded in chat is appended to every subsequent message
Fixed issue where images uploaded with same file path would all be deleted
Version updated to 0.4.4-alpha
Does this introduce a breaking change?
The file_message property of the Message and AsyncMessage classes has been changed to file_messages and now returns a list of FileMessage objects. To go through individual file messages you can iterate through file_messages.
The contains_image_file_id method has been removed from the Conversation and AsyncConversation classes. To check if a conversation contains any file with the specified file id, use the new contains_file_id method
[X] Yes
[ ] No
Pull Request Type
What kind of change does this Pull Request introduce?
[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test
Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
Test the code
Use GUI
Other Information
Please install new version azure_ai_assistant-0.4.4a1-py3-none-any.whl for middleware SDK from this release. See the README for installation details.
Purpose
Does this introduce a breaking change?
The file_message property of the Message and AsyncMessage classes has been changed to file_messages and now returns a list of FileMessage objects. To go through individual file messages you can iterate through file_messages.
The contains_image_file_id method has been removed from the Conversation and AsyncConversation classes. To check if a conversation contains any file with the specified file id, use the new contains_file_id method
Pull Request Type
What kind of change does this Pull Request introduce?
How to Test
Use GUI
Other Information