You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a specific case of #10.
GPT4 is capable of generating web application that include HTML, CSS and javascript enclosing each portion in ```.
In general, it seems to have the inclination to include these even when not asked to.
You can ask it to generate a file like this (because of the markdown in the file, can't include it inline): example.txt
So in effect, we could, with a simple gish request, generate a full web application.
Generate the files in a directory, and for extra points, we can launch a local server, and the app is right there in the user's browser :-).
For a standard web app it could be
```index.html
```styles.css
```index.js
``` README.md -- optional for any comments.
For this initial version use regex to parse the file, but for future versions, consider using https://github.com/pegjs/pegjs.
The advantage of going in that direction is that
It is more robust.
It can give us a definitive answer whether GPT's response is compliant: it only has files enclosed in ```.
The text was updated successfully, but these errors were encountered:
This is a specific case of #10.
GPT4 is capable of generating web application that include HTML, CSS and javascript enclosing each portion in ```.
In general, it seems to have the inclination to include these even when not asked to.
You can ask it to generate a file like this (because of the markdown in the file, can't include it inline):
example.txt
So in effect, we could, with a simple gish request, generate a full web application.
Generate the files in a directory, and for extra points, we can launch a local server, and the app is right there in the user's browser :-).
For a standard web app it could be
For this initial version use regex to parse the file, but for future versions, consider using https://github.com/pegjs/pegjs.
The advantage of going in that direction is that
The text was updated successfully, but these errors were encountered: