Cover: PIXIV 82860854
The copyright of this text and the author belongs to this site and the author. Unauthorized reproduction of this text is prohibited.
I wrote a lot in the last article and no one read it… I’m about to give up on writing… *** (Please leave a comment for the kids to encourage and support them, it’s free and your support is my motivation to update) ***
Following feedback, this series of articles will adhere to the approach of examples + guided thinking, gradually teaching to fish rather than simply spoon-feeding. Simply spoon-feeding is not the way.
Module Planning
This series of columns will introduce the following core modules one by one, which play a vital role in the operation of cyber companions. After introducing enough modules, there will be a special topic on the integration of modules, and an attempt to form a system.
This column does not delve into deep concepts and research, focusing on practical application instead. We welcome everyone to point out errors and opinions for a collective technical exchange.
Future columns are expected to update in this order (depending also on if people are reading)
- Setting up a basic Python environment + using langchain to access large language models
- Engaging in a conversation with an AI with presets using langchain!
- Adding short-term context memory to langchain!
- Adding voice output with Edge TTS!
- Optimizing the conversation chain and presets of your cyber companion!
- Connecting to a vector database for long-term memory!
- Creating a simple frontend for your cyber companion!
- Building a Docker image for your cyber companion!
- Cloud deployment of your cyber companion on a server and remote access!
- … (To be continued)
Depending on the response, the following tutorials may be added: Sentiment analysis, bert-vits, voice activation, speech recognition, IoT control, etc.
Prerequisites
I can’t possibly teach you every minute detail of the prerequisite knowledge, so please learn and prepare the following basics before coming:
- Understand how to access the internet scientifically and be able to connect to platforms like Google, OpenAI, GitHub, Docker Hub, and langchain without barriers
- Have a computer capable of running a Python environment and know how to start, shut down, and unzip files
- Know how to open the command line on your computer, like CMD and PowerShell for Windows, or terminal for Linux, etc.
- Don’t give up easily, have patience, the road to tinkering is never smooth sailing
- Have the wisdom to find solutions and ask questions, and know how to check logs instead of waiting to be spoon-fed