v1.2.2
This is a maintenance release with the following bug fixes and updates:
- Fixed a bug causing
ORA-20052: INVALID VALUE FOR TOOL ATTRIBUTE - TOOL_TYPEin methods create_email_notification_tool() and create_slack_notification_tool() - Fixed a bug causing
TypeErrorin methods agent.enable() and agent.disable() - profile.run_sql raises
select_ai.errors.InvalidSQLErrorwith a detailed error message in case of INVALID SQL generated or NON-EXISTENT tables - Introduced class level (sync and async) methods to delete Select AI database objects. From usage perspective it felt strange to initialize the Python proxy object and then call delete() on it. With the class level methods, you don't need to initialize the proxy objects just to delete the database object:
- Agent.delete_agent(agent_name)
- Profile.delete_profile(profile_name)
- Task.delete_task(task_name)
- Tool.delete_tool(tool_name)
- Team.delete_team(team_name)
- VectorIndex.delete_index(index_name)