Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: use GPT itself to fix compilation bugs #22

Open
oliveirabruno01 opened this issue Mar 23, 2023 · 4 comments
Open

Suggestion: use GPT itself to fix compilation bugs #22

oliveirabruno01 opened this issue Mar 23, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@oliveirabruno01
Copy link

I pressed the "Run" button, resulting in compilation errors.
In many cases, ChatGPT fails to implement your command correctly. You might get the correct one by repeatedly pressing the "Run" button.

(That's why I think this PoC is impractical...)

I know it may sounds stupid but have you tried using "ChatGPT" itself to resolve the errors instead of having the user run the prompt again? You could put a maximum amount of attempts.

@keijiro keijiro self-assigned this Mar 23, 2023
@keijiro keijiro added the question Further information is requested label Mar 23, 2023
@keijiro
Copy link
Owner

keijiro commented Mar 23, 2023

It would be a nice option. I'd like to give a try when I have time.

@keijiro keijiro added enhancement New feature or request and removed question Further information is requested labels Mar 23, 2023
@bh679
Copy link

bh679 commented Mar 29, 2023

I added " - Use namespaces UnityEditor & UnityEngine.\n" +
to the WrapPrompt and it seems to help get ride of the most common issues I have seen.

Just a suggestion. Love what you've done here!

@AspireOne
Copy link

I added " - Use namespaces UnityEditor & UnityEngine.\n" + to the WrapPrompt and it seems to help get ride of the most common issues I have seen.

Just a suggestion. Love what you've done here!

Yep, exactly. @oliveirabruno01 this is a problem with the output being inconsistent, because ChatGPT fails to follow the prompt exactly. It definitely is capable of it though, so the fix is improving the prompt.

@ConnerHua
Copy link

我在 WrapPrompt 中添加了“- Use namespaces UnityEditor & UnityEngine.\n” + ,它似乎有助于解决我见过的最常见问题。

只是一个建议。喜欢你在这里所做的一切!

thanks!great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants