Skip to main content

AI-generated cloud functions

Feature Introduction​

AI-generated cloud functions​

You can input keywords, and AI generates corresponding cloud function code to help developers quickly implement business functionalities.

Cloud Function Debugging​

After generation is completed, click the Debug button in CloudBase Copilot, where the generated cloud function code can be edited and debugged in the cloud-based IDE.

Cloud Function Deployment​

After generation is completed, click the "Deploy" button in CloudBase Copilot to deploy the cloud function to the CloudBase environment.

Modify Cloud Function Code​

You can input prompts to have AI modify the current cloud function implementation.

In the cloud function list, click "Develop in the Cloud" to open an existing cloud function. CloudBase Copilot supports modifying the current function code.

Usage Steps​

1. Open CloudBase Copilot​

2. Switch to AI-generated cloud functions​

Type @, select AI-generated cloud function, enter keywords, and click Generate.

3. Confirm Generation​

After generation is completed, click the "Confirm Generation" button to open the generated cloud function code in the cloud-based IDE for editing and debugging.

If the generation is unsatisfactory, you can input new requirements to make modifications.

4. Cloud Function Debugging​

Click the Debug button in CloudBase Copilot to edit and debug the generated cloud function code in the cloud-based IDE.

5. Cloud Function Deployment​

After debugging is completed, click the "Deploy" button in CloudBase Copilot to deploy the cloud function to the CloudBase environment.