Code completion
- Complete the following function [function_name], which takes in [input_variable] and returns [output_variable].
- Suggest alternative implementation(s) for the following function [function_name].
- Provide code completion for the following line of code [code_snippet].
- Suggest code snippets to replace the following block of code [code_block].
- Given the following input data [input_data], generate code to preprocess the data.
- Generate code to implement the following algorithm [algorithm_name].
- Generate code to scrape the following website [website_url].
- Suggest code snippets to optimize the following code for performance.
- Suggest code snippets to improve the readability of the following code.
Code summarization
- Summarize the functionality of the following codebase [codebase_url].
- Summarize the differences between the following two versions of the code [code_version_1] and [code_version_2].
- Summarize the purpose of the following function [function_name].
- Summarize the structure of the following dataset [dataset_name].
- Summarize the output of the following machine learning model [model_name].
- Summarize the results of the following A/B test [test_name].
- Summarize the key features of the following API [api_name].
- Summarize the main components of the following system architecture [architecture_name].