技巧精选

开源RAG助手:完整代码与视频讲解,学习LangChain和LangGraph

We should build a church for people who open-sourc…

精选理由

Lena把整个RAG应用的源码和讲解视频都开源了,用LangChain+LangGraph搭建,还用了pgvector和Terraform,想学RAG实战的可以直接拿走。

AI 摘要

Lena开源了一个RAG助手,用于导航航空公司政策,包含完整源代码和视频讲解。该应用使用LangChain构建检索管道,LangGraph管理对话状态,通过pgvector在Postgres中存储嵌入。项目还使用Terraform部署基础设施,索引文档以将答案锚定在源文本上。开发者可以从中学习具体的工程决策和实现细节。

原文 · Ate-a-Pi

We should build a church for people who open-sourc…

We should build a church for people who open-source their code so everyone can learn from it.

Here is the complete source code of a RAG assistant to navigate airline policies.

You get the complete source code and video from @lenadroid, walking you through everything she did (I'm linking to the video in the first comment below).

The fact that you can watch every engineering decision that Lena made when building this app is pure gold.

A few things you'll pick up from this:

• It uses LangChain for the retrieval pipeline • It uses LangGraph for conversation state • It stores embeddings in Postgres with pgvector • It indexes documents to ground answers in the source text • It uses Terraform to stand up the infrastructure

I'm linking to the video walkthrough and the source code below.

开源RAG助手:完整代码与视频讲解,学习LangChain和LangGraph · AI 热点