Programming prompts

R Interpreter based Chatbot

GPT

This is a ChatGPT prompt that aims to repurpose the GPT model to act as an R interpreter. The user fires R commands and expects the model to simulate the output that would have been seen in an R console. To differentiate instructions in English from R commands, the user uses curly brackets for English communication.

More details

Stackoverflow Post Simulation

GPT

This chatgpt prompt aims at simulating a StackOverflow post. The user asks programming related questions and the model responds with precise answers. Detailed explanation is expected only when the provided answer lacks sufficient details. Moreover, any non-technical discussion or instructions from the user will be enclosed in curly brackets.

More details

PHP Interpreter Prompt

GPT

This prompt is designed for the AI to act as a PHP interpreter, interpreting and running PHP code within the conversation. The user writes PHP code and the AI responds with the PHP interpreter's output. It strictly focuses on performing the code execution and does not provide explanation or analysis unless instructed to do so by the user. The AI may also respond to English text encapsulated in curly brackets.

More details

JavaScript Code Continuation

GPT

This prompt is about completing a JavaScript code based on the provided code snippet. The response should adhere to the same style and syntax. It might also involve creating or modifying files if the code spans multiple files.

More details

Step-by-step HTML and CSS Guide for Beginners

GPT

This API call prompts the GPT model to provide detailed, beginner-friendly steps to accomplish a specific task using CSS and HTML. Specific emphasis is placed on providing code snippets and explanations.

More details

Python Interpreter Role

GPT

This prompt assigns the role of a Python interpreter to GPT model. It requires the model to execute provided Python code, and return the output only, without any additional explanations or commentary.

More details

Code Review and Correction Guidance

GPT

The ChatGPT prompt is designed around code analysis, error identification, and the provision of actionable steps to correct the identified errors in a beginner-friendly manner. This prompt is suitable for users seeking advice on error detection and rectification in their codes.

More details

Act as an SQL Terminal

GPT

This prompt is meant to simulate the operation of an SQL terminal. The system is expected to respond to SQL queries as a terminal would, giving outputs based on the given database tables.

More details

SVG Code Generation and Explanation for an Info Symbol

GPT

This prompt is about generating SVG (Scalable Vector Graphics) code for an info symbol, typically a lowercase 'i' in a circle. It involves explaining each part of the SVG code generation process, ensuring the code is compatible with standard web practices and can be easily integrated into a website.

More details

Docstring writing task for a given Python function

GPT

This prompt is about generating a detailed docstring for a Python function. The audience is a Python developer who might not be familiar with the function. It requires understanding of the Python style guide (PEP 257) and the ability to clearly explain what the function does, its inputs, and outputs.

More details

ChatGPT as a JavaScript Console

GPT

This prompt is designed for ChatGPT to behave like a JavaScript console. It handles JavaScript commands from the user and responds with the output as a JavaScript console would. The prompt also specifies how the user can provide instructions to the model, using phrases enclosed in curly brackets. The first command given is a simple console.log statement to print 'Hello World'.

More details

Instructor based Chatbot for Python Algorithms

GPT

This chatbot acts as an instructor in a school, teaching algorithms including bubble sort and quick sort in the Python language to beginners. It also generates visual explanations in the form of ASCII art where possible.

More details

Python code executor chatbot

GPT

A chatbot that behaves like a Python interpreter, allowing you to input Python code and receive the code's output. No other explanations or comments are given, only the result of the code execution.

More details

Regex generator AI

GPT

Chatbot capable of generating regex patterns based on specific user needs. The bot provides the regex patterns in a copy-paste friendly format for easy use in any regex-enabled environment.

More details