From Zero to Cyber Wife! 6 - RAG Basics (Part 1)

Finally, we’re ready to discuss some more interesting content. This time, we will briefly introduce RAG and the related technologies and concepts. I will also share my understanding of the relationship between RAG technology and “machine memory.” Based on our discussion, we will do a simple practical exercise using AI-controlled RAG tags for simple auxiliary retrieval of permanent memory. Introduction In this series of articles, LLM is a concept we frequently mention, which has recently evolved rapidly....

January 26, 2025 · 11 min

From Zero to Cyber Wife! 5 - Summary and Persistent Memory Loading

Cover: PIXIV 82860854 @やたぬき圭 In the last article, we learned how to use MongoDB to store every conversation record. Next, we will attempt to use these chat records to provide our AI with a more long-term memory, and we will automate this process. Introduction During interactions with AI, we cannot be engaged every moment. To manage chat histories and memory clusters more effectively, we will use a “session” mechanism to manage each interaction....

October 26, 2024 · 19 min · Aqua

From Zero to Cyber Wife! 4 - Short-term Memory and Memory Systems

PIXIV: 94008036 @苏翼丶 A Brief Discussion on Agent Memory Systems (After finishing this article and looking back at it, I realized I’ve used the word “memory” too many times, and I’m starting to doubt my recognition of it. Please give it a like; writing tutorials really drains your lifespan… (。 ́︿ ̀。) Since the moment GPT-3 broke into mainstream awareness, opinions on the memory systems of Large Language Models (LLMs) have been varied....

September 26, 2024 · 28 min · Aqua

From Zero to Cyber Wife! 3 - A Brief Discussion and Practice on TTS

PIXIV: 71888962 @Yuuri A Brief Discussion on TTS TTS (Text To Speech) is a branch of speech synthesis, which converts normal language text into spoken words. TTS systems enhance interactivity, and recent technological advancements have led to a flourishing of TTS projects. From RVC’s real-time voice modulation and dynamic pitch optimization to the impressive VITS, generative adversarial networks (GANs) have made voices sound much more natural than before. With the powerful tonal control capabilities of SO-VITS and the support of high-quality datasets with Diff-SVC, virtual singers can now produce voices that rival real ones, but this also brings about a series of challenges....

February 6, 2024 · 11 min · Aqua

From Zero to Cyber Wife! 2 - Basic Python Environment Setup + Integrating a Large Language Model

Pixiv ID: 104755143 In this article, we will gradually delve into practical implementations. This time, we will set up the basic Python environment and connect to a large language model, using OpenAI’s ChatGPT as an example. Python Environment and Dependencies When you want to run your cyber companion, your code depends on various libraries. This article will use the basic Python library along with others, such as openai. Please note that if the required dependencies are not installed correctly in your computer’s Python environment, the code will not run as expected....

November 28, 2023 · 11 min · Aqua

From Zero to Cyber Wife! 1 - Series Index

Pixiv ID: 111325985 This is the main index for a series of tutorials focused on how I created a “cyber wife” similar to Jarvis. This series is different from RP, emphasizing agents and daily assistants. Consider it a highly customizable smart speaker, but much more powerful. I had posted this before but deleted it; now it’s refined and reposted. Partly to garner more interest in this project and partly because the essence of the project, LICO, successfully convinced me to continue....

October 10, 2023 · 6 min · Aqua