Langchain and RAG Best Practices
March 5, 2025 · 16 min read · Page View:
This is a quick-start essay for LangChain and RAG which mainly refers to the Langchain chat with your data course which are taught by Harrison Chase and Andrew Ng.
...This is a quick-start essay for LangChain and RAG which mainly refers to the Langchain chat with your data course which are taught by Harrison Chase and Andrew Ng.
...This article introduces the common distribution functions both continuous and discrete. Besides, the basic knowledge of conditional distribution such as total probability and Bayes’ Theorem is also introduced. The most important part are the Normal Approximation and Poisson Approximation of the Binomial Random Variable.
...This article is mainly about Bernoulli Trials and its properties.
...This article is about the probability and its axioms.
...The /proc
in Linux is a kind of Pseudo file system (also known as Virtual File System), what it saves is a series of special files that store the current running state of the kernel, and the user can check the hardware info and the runnning processes via the files, even adjust some files to change the state of running kernel. The files in /proc
will be refresh in RAM, so the files’ size is 0 bytes.
I frequently use ifconfig
and cat /proc/net/dev
to examine network information. However, today, my cloud server crashed unexpectedly. I reached out to the cloud support for assistance. The engineer utilized iftop
to analyze the situation. After the issue was resolved, I started to consider using this tool. Now, let’s take a closer look at this powerful utility.
In python, due to the GIL (Global Interpreter Lock), which is a mutex and ensures only one thread can execute at a time, so the multiple threads parallel execution is not supported under the CPython interpreter. But what about the multiple processes? What is the difference between them? How to choose the right method? Do you know the coroutine? Let’s explore it together.
...The test methods in Go mainly include three types: unit test, benchmark test, and example test.
...Do you really understand the video technology? What is the frame rate
, resolution
, bit rate
and their relationships? Do you know the parameters p
and K
in the terminology 1080p
and 4K
? Do you know how to describe the video quality? What is the Blu-ray Disc
on earth? What the difference between the codec such as H.264/AVC
, H.265/HEVC
, AV1
? You may notice the Apple ProRes
in apple, so do you really understand what it for? Do you know the HDR
and Dolby Vision
? So why there are so many tailers such as .mp4
, .mkv
, .flv
, etc?
Now this Video Technology 101 will introduce them to you.
...Message queues are a form of asynchronous service-to-service communication. They are important in enhancing a system’s scalability, reliability, and maintainability.
...