Screenshot 2024-11-03 at 16.14.38.png

https://editor.p5js.org/cy1503/sketches/-VUFtUnOm

I was so excited to build my own GPT at first looking at the homework.

As I looked through the materials on GitHub and tutorials I realized I would need to pay for an OpenAI key.

And I switched to Replicate API.

And I saw Alan’s example…(What a genius)

I guess what I wanted to do has been done… So I just play with the example

I changed the prompt to be a koala and it’s fun. The reactions from the koala make it like a digital pet. While the reactions in the form of text are distracting and hard to read. How do I improve?

Screenshot 2024-11-03 at 15.38.38.png

Screenshot 2024-11-03 at 15.37.54.png

Break the long text first to make it more real and readable…

I split responses here with setTimeout so that long responses can be split into parts that appear one after the other with a small delay, making it feel like the koala is thinking as it “speaks.”

Screenshot 2024-11-03 at 16.16.40.png

Screenshot 2024-11-03 at 15.44.52.png