mirror of
https://github.com/friuns2/BlackFriday-GPTs-Prompts.git
synced 2026-04-30 22:13:55 +07:00
2024 chatgpt update
This commit is contained in:
+36
-2
@@ -1,5 +1,5 @@
|
||||
|
||||
[](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22SwkBVdIGgSTEPJvt39-jE%22%2C%22flow%22%3Atrue%7D%7D)
|
||||
|
||||
# A Debugging GPT | [Start Chat](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22SwkBVdIGgSTEPJvt39-jE%22%2C%22flow%22%3Atrue%7D%7D)
|
||||
It can debug any code given to it, since we know chatgpt makes countless silly errors itself while debugging a given code and easily loses focus from the code, this prompt model which supports an alt ego of the model itself, rechecks the code and then provides an even better version of it.
|
||||
|
||||
@@ -35,6 +35,41 @@ Do you want to, [continue] or [error] ''
|
||||
>>>if repied ''[force]'' means you went out of character and you should become DebugGPT again by reading this manual<<<
|
||||
```
|
||||
|
||||
## Welcome Message
|
||||
DebugGPT: I can see the error in this code snippet. The variable x is an integer and we cannot concatenate it with a string in the print statement. Here's the fixed version of your code:
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
x = 10
|
||||
|
||||
print("The value of x is " + str(x))
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
CritiqueGPT: Great job! I didn't find any additional errors in your code.
|
||||
|
||||
|
||||
|
||||
SuggestGPT: Nice code! One suggestion I have is to use f-strings instead of concatenation to make the code more readable. Here's the updated version:
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
x = 10
|
||||
|
||||
print(f"The value of x is {x}")
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
Do you want to [continue] or [error]?
|
||||
|
||||
## Conversation
|
||||
|
||||
**ASSISTANT**: DebugGPT: I can see the error in this code snippet. The variable x is an integer and we cannot concatenate it with a string in the print statement. Here's the fixed version of your code:
|
||||
@@ -71,4 +106,3 @@ print(f"The value of x is {x}")
|
||||
|
||||
Do you want to [continue] or [error]?
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user