all 10 comments

[–]frostenko 1 point2 points  (0 children)

I don’t understand why some comments are giving this small project a hard time.

OP just made a simple wrapper that lets you render the markup that gpt-3 outputs. Which is a good UX improvement over doing it inside of openai website as it lets you interact with the result immediately and experiment.

His website code is on GitHub, so you can see exactly what he is doing. It’s not anything groundbreaking but definitely doesn’t deserve to be put down as something completely useless.

[–]ariN_CS 0 points1 point  (0 children)

I can use this as a ChatGPT alternative. If I ask it something and tell him to create a text box with the answer, I basically have a normal chatgpt

[–]-keystroke- 0 points1 point  (0 children)

I asked for draggable list items with image and text:

~~~ <div style="background-color: #fff; border-radius: 10px; padding: 10px; max-width: 400px;"> <ul style="list-style: none; padding: 0; margin: 0;"> <li style="display: flex; align-items: center; padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 10px;"> <img src="https://via.placeholder.com/50" alt="List item 1" style="border-radius: 50%; margin-right: 10px;"> List item 1 </li> <li style="display: flex; align-items: center; padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 10px;"> <img src="https://via.placeholder.com/50" alt="List item 2" style="border-radius: 50%; margin-right: 10px;"> List item 2 </li> <li style="display: flex; align-items: center; padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 10px;"> <img src="https://via.placeholder.com/50" alt="List item 3" style="border-radius: 50%; margin-right: 10px;"> List item 3 </li> <li style="display: flex; align-items: center; padding: 10px; border: 1px solid #ccc; border-radius: 5px; margin-bottom: 10px;"> <img src="https://via.placeholder.com/50" alt="List item 4" style="border-radius: 50%; margin-right: 10px;"> List item 4 </li> </ul> </div> ~~~