-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added function support and action execution capabilities to Neo API assistant, improving its flexibility and robustness. Key updates include function management, enhanced message handling, and improved error validation. #817
Conversation
- Introduced a new Execute method for handling next actions in the Assistant struct, allowing for dynamic execution of various actions such as "process" and "assistant". - Improved error handling by validating payloads and providing meaningful error messages for missing or incorrect data. - Streamlined the flow of next actions in the Execute method, enhancing the assistant's ability to manage complex interactions and responses. - Updated the streamChat method to utilize the new Execute method, improving the handling of next actions during chat streaming. These changes enhance the robustness and maintainability of the Neo API, paving the way for more flexible and powerful assistant functionalities.
…handling - Introduced a new Function type to define assistant functions, enhancing the assistant's capabilities. - Updated the Assistant struct to include a Functions field, allowing for dynamic function management. - Refactored the streamChat method to handle tool calls, improving interaction with functions during chat streaming. - Enhanced message handling in the NewOpenAI function to support tool call responses, ensuring proper message parsing. - Implemented loading and saving of functions from a JSON file, streamlining function management within the assistant. These changes improve the robustness and maintainability of the Neo API, paving the way for more flexible and powerful assistant functionalities.
Thank you for the PR! The db: MySQL5.7 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: MySQL5.7 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: MySQL5.7 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
✨DONE✨ db: MySQL5.7 redis: 4 mongo: 6.0 passed. |
✨DONE✨ db: MySQL5.7 redis: 6 mongo: 6.0 passed. |
✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed. |
✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed. |
✨DONE✨ db: MySQL5.7 redis: 5 mongo: 6.0 passed. |
✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed. |
✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed. |
✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed. |
✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed. |
No description provided.