A lightweight stack to create and host your own AI companion

29 Sep 2023 github.com
This is a tutorial stack to create and host AI companions that you can chat with on a browser or text via SMS. It allows you to determine the personality and backstory of your companion, and uses a vector database with similarity search to retrieve and prompt so the conversations have more depth. It also provides some conversational memory by keeping the conversation in a queue and including it in the prompt.
It currently contains companions on both ChatGPT and Vicuna hosted on Replicate.