Rag

RAG (Retrieval-Augmented Generation) Introduction There are three main mode for AI systems: Retrieval: The system retrieves relevant information from a database or knowledge base. Generation: The system generates new content based on the input it receives. Action: The system takes actions based on the input it receives. Like MCP, Agent, etc. Like Camel, the agent can interact with the environment and take actions based on the input it receives. The RAG is welled grounded by the time I write this article and it includes mainly the first two modes. ...

May 14, 2025 · 2 min · 421 words · Yunfei

System Design of financial data ingestion

In this post, we will explore the system design of a financial data ingestion system. This system is crucial for collecting, processing, and storing financial data from various sources. There can be many conplicated distributed systems to handle financial data ingestion, but we will focus on a simplified version that can be used as a starting point for building such systems. System Design Overview For financial data ingestion, we need to consider generally two typpes of data: Metadata and Time Series Data. ...

August 21, 2024 · 3 min · 637 words · Yunfei

Distributed Storage

Basic concepts of distributed system.

May 22, 2024 · 7 min · 1445 words · Yunfei

Introduction of NLP

NLP notes

May 18, 2024 · 2 min · 381 words · Yunfei

Some basic concepts of the financial world

Many people are interested in investing, but before doing investments, it is better to understand some basic concepts of the financial world. Investment is the act of allocating resources, usually money, in order to generate income or profit. It can take many forms, such as stocks, bonds, real estate, or mutual funds. In another word, investment is the use of assets to earn income or profit. Investment forms Stocks, bonds, real estate, and mutual funds are some of the most common forms of investment. Each has its own characteristics, risks, and potential returns. ...

April 21, 2024 · 14 min · 2841 words · Yunfei

Selenium

Web scraping with Selenium on remote server.

January 26, 2024 · 3 min · 429 words · Yunfei

Setup a remote linux server, DDNS, MSI bios update

MSI bios update, ssh remote connection, update dynamic IP address to google domain

April 29, 2023 · 5 min · 913 words · Yunfei

DETR: DEtection TRansformer

You only look once? I do not even have to look. A popular application of Transformer in computer vision.

April 4, 2021 · 9 min · 1771 words · Yunfei

Transformer? Attention!

Transformer and Attention Mechanisms

March 31, 2021 · 10 min · 2007 words · Yunfei

Some basic sorting algorithms

A summary of some useful sorting algorithms

August 29, 2020 · 0 min · 0 words · Yunfei