## Unity Catalog AI 0.3.0 Release - [[Unity Technologies | Unity]] Catalog AI 0.3.0 has been released, focusing on improving the developer experience, particularly for authoring functions and debugging complex ones [(00:02:43)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=163s). - The release includes new features such as the "get function source" API, which retrieves the definition of a [[Python (programming language) | Python]] function directly as a string, and the "get function as callable" API, which allows for local execution of a function for troubleshooting and debugging [(00:08:51)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=531s). - The client now supports additional features, including the ability to specify the execution mode, with options for local or sandbox mode, to support scalable deployments in a safe way [(00:10:38)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=638s). - The know function is callable and returns a Python callable directly, allowing for additional options such as returning the callable to a specific namespace or getting it as a local reference for troubleshooting or debugging [(00:12:08)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=728s). ## Enhanced Function Management - The create_wrap_function allows users to refer to a single definition of a function and automatically include it in their function, making it locally available and avoiding the need for multiple copies of the same function [(00:13:07)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=787s). - The execution mode has been changed to sandbox by default, which spins up an isolated process and allows for configuration of max CPU runtime and wall clock time, providing a safer environment for task execution [(00:15:36)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=936s). - [[Unity Technologies | Unity]] Catalog has a [[Git | git]] function that allows users to retrieve a function definition and modify it, making the authoring process more efficient [(00:23:41)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=1421s). - The create wrapped function feature enables users to package multiple functions together, avoiding the need to repeat code and making it easier to test and maintain [(00:28:10)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=1690s). ## Sandbox Execution and Security - Sandbox protection is a feature that prevents code execution from consuming excessive resources, providing a safe environment for testing and deployment [(00:30:07)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=1807s). - The prompt registry is expected to be supported in [[Unity Catalog]], with a potential integration later in the year, allowing for a single source of truth for model artifacts and prompts [(00:35:14)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2114s). - The sandbox feature is a desired functionality, enabling the registration and execution of functions in a safe environment, with the ability to restrict access to certain file systems or libraries [(00:36:51)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2211s). - The sandbox environment can be configured to restrict [[Python (programming language) | Python]] package imports, and environment variables can be set to control the restrictions, with defaults provided for timeout and memory limits [(00:38:18)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2298s). - Function execution is always client-side, and the sandbox is created on the client, allowing for isolated and restricted execution of functions, even when connected to a remote [[Unity Technologies | Unity]] server [(00:41:05)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2465s). ## Advanced Function Features and Design - Class objects with functions can be registered, and internal class definitions can be used within a function definition, allowing for modularization of large functions [(00:43:49)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2629s). - A design doc was created to potentially solve a problem, and it's just a matter of timing and effort [(00:45:37)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2737s) ## Community Engagement and Resources - Ben and the speaker will be publishing a blog about the [[Unity Technologies | Unity]] AI catalog release, including a video recording, documentation links, and a Jupyter notebook [(00:45:57)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2757s) - Contributions to the Unity AI catalog are welcome, and interested individuals can contact Ben or submit a design document, file, issue, or PR [(00:46:15)](https://www.youtube.com/watch?v=XD1Vy6uB43Q&t=2775s) ## Sources - [website](https://www.youtube.com/watch?v=XD1Vy6uB43Q?si=kK5ptcTLrUvilt5K)