I have created an open source chatgpt clone with rubyllm, check it out here: https://www.railschat.org/