<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[alanchanchn的专栏]]></title><description><![CDATA[对相关技术进行系统化介绍，并辅以实际可运行demo，让读者能轻松实现所思所见所得，降低学习新技术门槛。]]></description><link>https://blog.csdn.net/chenwewi520feng</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; chenwewi520feng]]></copyright><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第3篇：基于向量检索的数据库 Schema 检索服务构建]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/171106389</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/171106389</guid><author>chenwewi520feng</author><pubDate>Fri, 27 Nov 2026 15:15:00 +0800</pubDate><description><![CDATA[本章构建基于向量检索的Schema检索服务，将第二章能力升级为可复用的RetrievalService，实现“问题→检索相关表→构造Schema Context→LLM生成SQL→校验”的最小Text2SQL闭环。通过多版本服务演进（含Schema上下文、SQL校验等），集成DeepSeek生成SQL，支持多数据库配置与环境变量管理，为后续Agent与Text2SQL应用奠定基础。强调凭据外置、安全校验局限性及企业级防护必要性。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第2篇：数据库元数据采集与结构化管理]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/171106654</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/171106654</guid><author>chenwewi520feng</author><pubDate>Fri, 27 Nov 2026 10:45:00 +0800</pubDate><description><![CDATA[本章从MySQL information_schema 采集表结构元数据，通过环境变量安全读取连接信息，生成 schema.json。使用 BGE-M3 模型对表描述向量化，存入 FAISS 索引，实现“用户问题→向量→TopK相关表”的检索链路验证。产出包括结构化元数据文件与向量索引，为后续 ChatBI、Text2SQL 等模块提供基础支持。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第3篇：基于向量检索的数据库 Schema 检索服务构建（四）]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/171106074</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/171106074</guid><author>chenwewi520feng</author><pubDate>Thu, 26 Nov 2026 15:30:00 +0800</pubDate><description><![CDATA[本文验证了基于向量检索的数据库Schema检索服务，涵盖环境配置、API连接、检索服务、SQL生成及流式输出等环节。通过调用DeepSeek模型与自研检索模块，成功实现自然语言到SQL的转换，完整流程测试验证了系统在多场景下的可用性与稳定性。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第3篇：基于向量检索的数据库 Schema 检索服务构建（三）]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/171106050</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/171106050</guid><author>chenwewi520feng</author><pubDate>Thu, 26 Nov 2026 10:45:00 +0800</pubDate><description><![CDATA[构建基于向量检索的ChatBI服务，整合检索与LLM生成SQL能力。通过RetrievalService检索相关表结构，结合DeepSeek/OpenAI等LLM生成符合MySQL语法的SQL，支持流式输出。服务自动提取代码块中的SQL，返回包含问题、SQL、上下文及元信息的完整结果，实现高效精准的自然语言转SQL。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第3篇：基于向量检索的数据库 Schema 检索服务构建（二）]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/171106003</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/171106003</guid><author>chenwewi520feng</author><pubDate>Wed, 25 Nov 2026 15:30:00 +0800</pubDate><description><![CDATA[本文介绍基于向量检索的数据库Schema检索服务构建，重点封装DeepSeek LLM客户端。通过抽象基类定义统一接口，采用工厂模式实现多LLM切换（如DeepSeek、OpenAI），支持配置驱动与环境变量管理。代码结构清晰，包含LLM服务抽象、DeepSeek具体实现及消息格式化功能，为后续ChatBI系统集成提供可扩展、可维护的底层支持。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第3篇：基于向量检索的数据库 Schema 检索服务构建（一）]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/170897950</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/170897950</guid><author>chenwewi520feng</author><pubDate>Wed, 25 Nov 2026 10:45:00 +0800</pubDate><description><![CDATA[本章构建基于向量检索的Schema检索服务，将第二章能力升级为可复用的服务模块。通过RetrievalService实现问题→向量化→FAISS检索→返回相关表的闭环，并集成DeepSeek生成SQL，形成“问题→检索→构造Schema Context→LLM生成SQL→校验”的最小Text2SQL流程。支持多数据库配置与环境变量管理，提供多版本服务文件以逐步演进功能，涵盖检索、Prompt模板、SQL校验等组件，为后续Agent与Text2SQL应用奠定基础。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第2篇：数据库元数据采集与结构化管理（二）]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/171105814</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/171105814</guid><author>chenwewi520feng</author><pubDate>Tue, 24 Nov 2026 15:30:00 +0800</pubDate><description><![CDATA[本文介绍数据库元数据的向量化与索引构建流程：从schema.json读取表结构，拼接为文本文档，使用BGE-M3模型生成1024维向量，通过FAISS构建精确内积索引（等价于余弦相似度），并保存向量索引（chatbi.index）与元数据（metadata.pkl）。二者需同步更新，确保检索准确。验证显示元数据完整保留字段信息，支持后续高效检索与智能问答。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第2篇：数据库元数据采集与结构化管理（一）]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/170696491</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/170696491</guid><author>chenwewi520feng</author><pubDate>Tue, 24 Nov 2026 10:45:00 +0800</pubDate><description><![CDATA[本章从MySQL information_schema采集表结构元数据，生成ChatBI可用的schema.json，并通过BGE-M3模型将表描述向量化，存入FAISS索引。通过环境变量管理敏感信息，确保安全；支持多库批量采集，输出可复用于后续Schema Tool、Agent与Text2SQL模块。仅包含基础字段信息，不涉及主外键、血缘等高级元数据，适用于教学与快速验证场景。]]></description><category></category></item><item><title><![CDATA[《从零手把手教你搭建 AI 驱动的 BI 系统》——第1篇：ChatBI 项目环境搭建与基础工程初始化]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/170735684</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/170735684</guid><author>chenwewi520feng</author><pubDate>Mon, 23 Nov 2026 15:30:00 +0800</pubDate><description><![CDATA[本章在 CentOS 7.9 环境下完成 Python 3.10、pip 及虚拟环境搭建，创建统一目录结构，分批安装 FastAPI、Pandas、NumPy、Redis 等基础依赖，验证向量化与相似度计算能力，为后续 LLM 接入、RAG、Text2SQL 等功能提供稳定运行基础。建议生产环境使用更新系统或容器化部署。]]></description><category></category></item><item><title><![CDATA[专题导读：《从零手把手教你搭建 AI 驱动的 BI 系统》——技术路线、架构与实施规划]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/170692212</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/170692212</guid><author>chenwewi520feng</author><pubDate>Mon, 23 Nov 2026 10:30:00 +0800</pubDate><description><![CDATA[本专题以实际项目开发为主线，系统介绍从零构建 AI 驱动的 BI 系统的完整技术路线。内容涵盖项目环境搭建、数据库元数据管理、Schema 检索、Text2SQL、Agent 与 LangGraph 工作流、FastAPI 接口、结果分析与可视化、多轮对话、业务语义、用户权限、SQL 安全治理及前端交互。采用循序渐进、逐步演进的方式组织内容，结合完整代码、运行示例和测试验证，帮助读者理解各模块的设计思路与实现方法。对于内容较多的专题，将拆分为多篇文章介绍，确保技术逻辑连贯、内容完整且便于实践。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（整章）]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/154652021</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/154652021</guid><author>chenwewi520feng</author><pubDate>Mon, 05 Jan 2026 10:15:00 +0800</pubDate><description><![CDATA[分别介绍了Flink的CDC及与Flink集成、通过Flink CDC将MySQL数据实时同步到Elasticsearch和Table API & SQL的外部连接器Hive的应用。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（九））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352488</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352488</guid><author>chenwewi520feng</author><pubDate>Sun, 04 Jan 2026 14:30:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（八））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352818</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352818</guid><author>chenwewi520feng</author><pubDate>Sun, 04 Jan 2026 10:15:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（七））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352793</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352793</guid><author>chenwewi520feng</author><pubDate>Wed, 31 Dec 2025 14:45:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（六））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352465</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352465</guid><author>chenwewi520feng</author><pubDate>Wed, 31 Dec 2025 10:15:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（五））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352740</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352740</guid><author>chenwewi520feng</author><pubDate>Tue, 30 Dec 2025 14:45:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（四））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352694</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352694</guid><author>chenwewi520feng</author><pubDate>Tue, 30 Dec 2025 10:15:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（三））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352673</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352673</guid><author>chenwewi520feng</author><pubDate>Mon, 29 Dec 2025 14:00:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（二））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352435</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352435</guid><author>chenwewi520feng</author><pubDate>Mon, 29 Dec 2025 10:15:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item><item><title><![CDATA[Flink原理与实战（java版）#第11章Flink的应用（第三节Table & SQL 连接器之Hive（一））]]></title><link>https://blog.csdn.net/chenwewi520feng/article/details/155352410</link><guid>https://blog.csdn.net/chenwewi520feng/article/details/155352410</guid><author>chenwewi520feng</author><pubDate>Fri, 26 Dec 2025 15:30:00 +0800</pubDate><description><![CDATA[介绍Hive作为Table API和SQL的外部连接器使用，并且结合实际应用中会使用kafka作为数据源进行介绍。]]></description><category></category></item></channel></rss>