Feature genie skills upgrade issue#83#233
Feature genie skills upgrade issue#83#233BlitzBricksterYY-db wants to merge 6 commits intodatabricks-solutions:mainfrom
Conversation
- Enhance the `create_or_update_genie` function to accept a `serialized_space` parameter for creating or updating Genie spaces using a full serialized configuration. Introduce new methods in `AgentBricksManager` for exporting and importing Genie spaces with serialized payloads, allowing for full configuration management. Update documentation to reflect these changes and provide usage examples. - new skills: `export_genie` and `import_genie` to support the new functionality including migration skills. - update documentation to reflect these changes and provide usage examples.
…uding migration skills Add detailed instructions for exporting and importing Genie Spaces using `export_genie` and `import_genie` methods. Include information on serialized space structure, migration across workspaces with catalog remapping, and permissions required for operations. Update examples to illustrate cloning and migrating Genie Spaces effectively.
…ialized_space - Streamline logic for updating or creating Genie spaces based on the presence of serialized_space and space_id. - Enhance error handling for non-existent spaces and ensure proper updates are made when serialized_space is provided. - Update documentation to clarify the workflow for creating and updating Genie spaces, including handling sample questions.
abdbc50 to
2d3dd0d
Compare
- Remove unnecessary blank lines to improve code readability. - Ensure consistent formatting across the file for better maintainability.
- Updated the description in SKILL.md to include additional functionalities related to exporting, importing, and migrating Genie Spaces. - Improved the management and querying capabilities of Genie Spaces in the documentation. - Clarified the usage of `create_or_update_genie` for updating existing spaces, including new examples for metadata updates and full configuration updates. - Added detailed information on the structure of the exported data, including keys for title and description, to facilitate better understanding and usage of the export/import processes.
|
|
Awesome! Thanks Yang! Here's what I got back in LLMing on top. Everything else looks great 👍 |
…cumentation for serialized space handling - Streamlined the `create_or_update_genie` function to improve response structure and error handling. - Updated the `import_genie` method to reflect changes in serialized space versioning. - Enhanced documentation in SKILL.md and spaces.md to clarify usage of serialized space and migration processes. - Fixed minor formatting issues in the documentation for better readability.
|
Great PR @BlitzBricksterYY-db !! When I tried to create the In #172 I tried my best to add instructions in the SKILL to teach the agent what's the expected format for the Would be great if this is taken into account in this PR, as someone from Databricks definitely can provide more detail on the expected format for |
|
@BlitzBricksterYY-db one more piece of feedback: can we consolidate the import and export into a single mcp tool? we're motivated to keep the # of tools down as low as possible to prevent agent bloat -- then I think when that's cleared + the linting, we'd be good to merge! |
@MigQ2 Helllo, Mig! Thanks for sharing, I agree it is important to figure out the right format of |
|
Totally get it! I want to confirm the intention before proceeding. My originally thinking is export_genie skill could also be used somewhere by the user, e.g., for fetching the Genie spaces' metadata and combine with other things for a VS index or a retrieval tool so an Agent to use, and is thus not necessarily immediately imported back as a Genie space. Import_genie on the other side, could take a modified Keep them separate could leave some imaginable operations flexible in the middle, so users can not limited to migration as IS. However, I am willing to proceed with the merge to one skill of "migrate_genie" if you think it is something more preferred. Let me know! Many Thanks!~ |

Add serialized space support in Genie API methods
Enhance the create_or_update_genie function to accept a serialized_space parameter for creating or updating Genie spaces using a full serialized configuration. Introduce new methods in AgentBricksManager for exporting and importing Genie spaces with serialized payloads, allowing for full configuration management and cross-wksp migration of Genie spaces. Update documentation to reflect these changes and provide usage examples.
See below screenshots for tested migration successful in 6 steps leveraging MCP tools and skills in this update.
Recording for leverage new skills to migrate Genie spaces from prod wksp to dev wksp
https://github.com/user-attachments/assets/430730d3-775a-4d3e-8a64-baee217302ed