Build an industry knowledge base based on LangChain+ChatGLM2-6B+embedding

Purpose: Recently, I have been exploring large model localization deployment + knowledge base to implement industry solutions, record the installation process, and share it with students who need it. It is very important to determine the version of each component before installation to avoid repeated installations. After reviewing a large amount of information, it can […]

Embedded Linux development—UART serial communication driver hardware programming

0. Basic preparation of serial port In embedded systems, many devices can be controlled through serial ports, such as WiFi, Bluetooth, RFID, etc., so using serial ports in embedded devices is particularly important. First, a few concepts are briefly clarified. RS232, RS485 and TTL refer to electrical level standards. Generally speaking, TTL uses 0V to […]

In embedded design, for a variable storage design with only two states, how to efficiently quantify the deviation of the tracking car…

Foreword (1) In embedded programming, we often need to store data from various sensors. Most of the time sensors, such as infrared light sensors, return data that is either 0 or 1. Therefore, only one bit is needed to store it. However, many people often use char array storage, so that only one-eighth of the […]

Embedded development plan-50—-ARM–Related syntax of ARM assembly language–ARM assembly instructions

One hundred and twenty-five, related syntax of ARM assembly language 125.1 Contents in the assembly file 1. Pseudo operation: It does not occupy storage space in the assembly program, but it can play a guiding and identifying role when the program is compiled. .text .global .glbal .if .else .endif .data .word…. 2. Assembly instructions: Each […]