Example prompts for designing and developing your application with GitHub Copilot for Azure Preview

If you're unfamiliar with Azure or you just want the tooling and AI to do most of the work, you can ask GitHub Copilot for Azure Preview to help you design and develop web and API applications to be deployed to your Azure account. Use best practices to achieve the best results.

Example prompts to create an entire sample app

If you want to use GitHub Copilot for Azure Preview for help with building your application, you can start with an open-ended question or request. Then, add details like specific programming languages, frameworks, services and technologies for better results. Try the following example prompts.

  • "@azure Could you help me create and deploy a simple Flask website by using Python?"
  • "@azure Can you help me build a RAG application with Python?"

Prompts to design APIs

You can now leverage GitHub Copilot for Azure for a variety of API-related tasks which utilizes the Azure API Center plugin:

  • Generating API Specifications: Describe your requirements in natural language, and GitHub Copilot for Azure will create new API specifications tailored to your needs. It can also help you register these APIs into the API Center swiftly.
  • Designing Compliant APIs: Design API specifications that comply with API Center governance. The AI assistance ensures that your APIs are designed according to best practices and standards.

Examples:

  • "@azure Generate OpenAPI spec: Accept purchase orders for specialized coffee bean purchases through an API"
  • "@azure Generate OpenAPI spec: We are a pizza company and want to create an online customized pizza delivery solution. Create an API to accept the pizza orders."