The Prompt Library is an innovative tool offering a curated collection of free text, image, and video prompts across various domains. Designed for seamless execution on generative AI platforms like ChatGPT, Bard, Claude, and others, it’s a go-to resource for enhancing AI interactions and creativity.
Prompt Name | Prompt | Type | Category | Actions |
---|---|---|---|---|
Parallelizing Code for Improved Efficiency | Act as a [PROGRAMMING LANGUAGE] expert. Help me parallelize the following code across threads? [INSERT CODE] | Text | Code Parallelization, Multithreading, Programming | |
Optimizing Hyperparameters in Machine Learning Model | Act as a data scientist and code for me. I have trained a [MODEL DETAILS INCLUDING ALGORITHM, PROGRAMMING LANGUAGE]. Write the code to tune the hyperparameters. | Text | Hyperparameter Tuning, Model Optimization | |
Understanding and Analyzing Code Functionality | Act as a code explainer. What is this code doing? [INSERT CODE] | Text | Code Explanation, Programming, Code Analysis | |
Correcting and Optimizing Poorly Written Code | Act as a code optimizer. The code is poorly written. How do I correct it? [Insert code here] | Text | Code Correction, Optimization Techniques, Programming | |
Documenting a Python Function | Act as a software developer. Provide documentation for func1 below. [INSERT FUNCTION] | Text | Code Documentation, Programming | |
Programming Language Error Analysis | Act as a [PROGRAMMING LANGUAGE] programmer. Here is a piece of [PROGRAMMING LANGUAGE] code representing [PROBLEM STATEMENT][INSERT CODE SNIPPET] I am getting the following error [INSERT ERROR]. What is the reason for the bug? | Text | Programming, Debugging, Error Analysis | |
Code Translation Between Languages | Act as an expert programmer in [PROGRAMMING LANGUAGE]. Translate the following code in [PROGRAMMING LANGUAGE] to [ANOTHER PROGRAMMING LANGUAGE]. [INSERT CODE] | Text | Code Translation, Language Proficiency, Programming | |
Function Explanation in Programming | Act as an Expert Coder in [PROGRAMMING LANGUAGE]. I don't understand this function. Can you please explain what it does, and provide an example? [INSERT FUNCTION] | Text | Code Explanation, Education, Programming | |
Code Simplification Task | Act as an expert programmer in [PROGRAMMING LANGUAGE]. Simplify the following code while ensuring that it is [EFFICIENT / READABLE]? [INSERT CODE] | Text | Code Refactoring, Efficiency, Programming | |
Unit Test Writing for Function | Act as an expert programmer in [PROGRAMMING LANGUAGE]. Write unit tests for the function [FUNCTION NAME]? [INSERT INSTRUCTIONS, IF ANY] [INSERT CODE] | Text | Unit Testing, Quality Assurance, Programming | |
Code Optimization Request | Act as a code optimizer in [PROGRAMMING LANGUAGE]. [DESCRIBE PROBLEM WITH THE CODE]. Can you make the code [CLEANER/RUN FASTER/MORE READABLE]? [INSERT CODE] | Text | Code Optimization, Performance, Readability | |
Create Online Course Material | I am creating an online course about basic programming for beginners. Can you help me generate a syllabus and detailed lesson plans that cover fundamental concepts in an easy-to-understand manner? | Text | Learning |