摘要: RAG(Retrieval Augmented Generation)检索增强生成 先从资料库里检索相关内容,再基于这些内容生成答案。 提问前:分片,索引;提问后:召回,重排,生成。 核心 知识库 <-> 用户query 的双向奔赴,构建私有知识库,提升对话能力。 Agentic RAG: RAG之 阅读全文
posted @ 2026-07-23 16:41 YBgnAW 阅读(2) 评论(0) 推荐(0)
摘要: System Design - BlackList CREATED 2022/01/25 UPDATED 2026/07/22 Problem Statement 设计一个 Blacklist Service,供多个业务系统查询某个对象是否在黑名单中。 黑名单对象可能包括: User ID Emai 阅读全文
posted @ 2022-01-26 13:44 YBgnAW 阅读(55) 评论(0) 推荐(0)
摘要: CREATED 2021年12月19日 21:22 blacklist系统设计讨论 https://www.1point3acres.com/bbs/thread-829894-1-1.html Read heavy write less system. IPv4: 4 bits * 8 = 32 阅读全文
posted @ 2021-12-20 13:23 YBgnAW 阅读(411) 评论(0) 推荐(0)
摘要: Video Recommendation - Machine Learning System Design Requirements Maximize users' engagement and recommend new types of content to users. Metrics Off 阅读全文
posted @ 2021-12-19 09:56 YBgnAW 阅读(124) 评论(0) 推荐(0)
摘要: A/B Testing https://engineering.linkedin.com/blog/2015/11/top-five-lessons-from-running-a-b-tests-on-the-world-s-largest-p https://aws.amazon.com/blog 阅读全文
posted @ 2021-12-19 09:20 YBgnAW 阅读(53) 评论(0) 推荐(0)
摘要: CREATED 2021年12月03日22:12:04 System Design - Twitter Functional requirements Post tweet (including text, image, video) / Delete Get Timeline / Newsfeed 阅读全文
posted @ 2021-12-06 14:05 YBgnAW 阅读(178) 评论(0) 推荐(0)
摘要: CREATED 2021-12-03 21:26:05 System Design - Yelp or Proximity Service Functional requirements Given a location, a user can search all the nearby place 阅读全文
posted @ 2021-12-04 13:27 YBgnAW 阅读(70) 评论(0) 推荐(0)
摘要: CREATED 2021/11/21 4PM 阅读全文
posted @ 2021-11-22 08:01 YBgnAW 阅读(31) 评论(0) 推荐(0)
摘要: CREATED 2021 11 13 12:15PM Single-Leader replication 集群中有一个leader节点和多个follower节点,写操作都必须经过leader节点完成,读操作则都可以处理。 同步复制 (Synchronous Replication) 数据在副本上落盘 阅读全文
posted @ 2021-11-14 05:46 YBgnAW 阅读(121) 评论(0) 推荐(0)
摘要: CREATED 2021/11/09 19:40 Functional Requirements Infra Search Service Ticket Transaction Service Payment Service Dataflows Search a movie zip code (co 阅读全文
posted @ 2021-11-12 11:52 YBgnAW 阅读(69) 评论(0) 推荐(0)