AI工作室
Scene Description#
AI Studio is an AI application that can help users create prompt templates.
Although AI Studio supports importing projects from GitHub and synchronizing data to GitHub, the threshold for ordinary users is still too high. In order to simplify the operation process, AI Studio has integrated DID Spaces. When users log in to the site for the first time, they are required to present their DID Space. After that, the user's project data will be synchronized to this DID Space, and they can also import project data from this DID Space to other instances of AI Studio.
Solution#
- Upon first login to the application, users are required to present their DID Space, which can be referenced .
- By using @did-space/client to read and write in DID Space, you can refer to .
Effect display#
- First login requires presentation of DID Spaces.
When first logging into AI Studio, users need to present their DID Space:
- Sync to DID Spaces
When saving data, users can choose to automatically synchronize project data to DID Space, or manually synchronize data to DID Space.
- Import project from DID Spaces
When clicking on import, select the imported DID Space source, and follow the instructions to complete the project import.