Easy AI
- 5 Devlogs
- 7 Total hours
Free AI chatbot powered by API free LLM!
Free AI chatbot powered by API free LLM!
This is my final log for easyAI for a while! I’ve finished a large sum of updates, including:
I’ll still come back to this project later, but I’m taking a break now! I’ve added a few Easter eggs into the chat too, just because.
Getting closer to finishing my AI chatbot! Cleaned up and made the site look better. You can’t send more then one message at a time anymore, and other errors are fixed so this works as a complete chat now! Pretty much finished, though I may add an ETA for how long it’s gonna take for the AI to respond. Sorry, I don’t have the money to get a better AI model, so it’s pretty slow.
Added a queue to the backend so that you don’t get a rate limit or high usage error when messaging easyAI!
There were a lot of messages coming through with “No response” or rate limit errors. I fixed this by changing the mini backend so that instead of just sending the requests to the AI, it also queues the requests and only delivers them back when the AI is available and they are at the front of the queue line.
I learned a bit about react and typescript, as that is what most of the backend is built out of. I also had to mess with SQL so I got to know that better too.
I decided not to make a visible queue line, that’s a bit too complicated and I just wanted to make sure users didn’t have any gaps in the AI returning responses.
Fixed the animation bug from my last log! That was the biggest thing I did. I also had Lovable create a mini backend for me. I didn’t include that in my time though, since it wasn’t me doing it.
A huge issue is chat response time, it takes a long time for the AI to respond to prompts. No fix besides a better model, but I don’t have the money for that. Sorry guys :/
I learned a bit more about backends, and how they interact with frontends. Again, dabbled in it before, but learning it more fully this time around!
I chose to use Lovable because of their proxy (they already proxy requests to my backend without any extra setup) and their free hosting. Also security. It’s nice to have a good setup, plus, anyone can use it for free!
An animation issue I had when the user first presses send turned out looking pretty good after I got rid of the transition. It jumps now but I thought it still looked good!
Finished most of the frontend and animations besides the actual AI typing text! Plan to integrate APIfreeLLM once I finish setting up my backend.
Had trouble setting up the animation after you click the send button, finally just gave up and left it without the animation.
I learned a lot about CSS mostly, from animations to transitions and effects. I’ve dabbled in this before, but now I’m trying to learn as much as I can.
I chose green cause I liked the color. Just messed around with CSS for the design, kept effects I liked and got rid of ones I didn’t.