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

Updated Wasp AI to work with newest GPT 3.5 Turbo (0125). #1826

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

Martinsos
Copy link
Member

@Martinsos Martinsos commented Feb 27, 2024

We had issues with 0125 dropping newlines from files and returning as one big line, and also with putting all the declarations in main.wasp under app {...}.

I did some prompt engineering here :D to try to combat that, and it seems it works. I didn't have enough time to run it many times, but I did manage to get it to produce working apps without any of those mistakes couple of times in a row.

We should do some more testing, to confirm it indeed works and doesn't make those mistakes, and then we can merge.

Copy link
Contributor

@sodic sodic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea how to review these things 🤷‍♂️

LGTM I guess 😆

@Martinsos
Copy link
Member Author

Hah thanks @sodic -> what we really need to do here is do a bunch of runs and confirms it works ok! So PR will be waiting till we find time for this.

@Martinsos
Copy link
Member Author

Tested more, it consistently works well now, no issues with newlines or with messed up main.wasp file. Also, the quality of apps seems to be similar as before.

@Martinsos Martinsos merged commit b784571 into main Mar 1, 2024
4 checks passed
@Martinsos Martinsos deleted the wasp-ai-gpt-3-5-0125 branch March 1, 2024 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants