摘要: RAG架构演进 RAG 的概念和思想最早是在 2020 年由 Meta 公司的技术团队在文章 “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks” 中正式提出的,用于给当时已经开始出现的大型预训练语言模型提供来自外部的 阅读全文
posted @ 2025-10-12 16:42 Zhentiw 阅读(53) 评论(0) 推荐(0)
摘要: RAG经典架构: 数据索引 读取外挂语料库的时候,语料库是一个 pdf 文件,需要一个额外的依赖:pdf-parse 转化为向量嵌入:nomic-embed-text function getEmbedding(text) { const res = await fetch("http://loca 阅读全文
posted @ 2025-10-12 16:41 Zhentiw 阅读(19) 评论(0) 推荐(0)