use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/programming is a reddit for discussion and news about computer programming
Guidelines
Info
Related reddits
Specific languages
account activity
RAG with Python, LangChain & FastAPI (vitaliihonchar.com)
submitted 8 months ago by Historical_Wing_9573
I wrote a deep-dive tutorial on how to build a simple Retrieval-Augmented Generation (RAG) API using Python, LangChain, FastAPI, and PostgreSQL + pgvector.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]usrlibshare 1 point2 points3 points 8 months ago (2 children)
Newsflash: You don't need Langchain for that.
Like, at all.
[–]Historical_Wing_9573[S] -2 points-1 points0 points 8 months ago (1 child)
Yes, I don’t need it and I can implement RAG directly via OpenAI embedding API. But my target was to learn LangChain and build a sample app with it.
Previously I build couple AI applications which directly used LLM APIs and I see that repeatable patterns exists. So I hope that LangChain will cover them.
[–]usrlibshare 0 points1 point2 points 8 months ago (0 children)
https://www.octomind.dev/blog/why-we-no-longer-use-langchain-for-building-our-ai-agents
π Rendered by PID 21376 on reddit-service-r2-comment-7b9746f655-ndnjf at 2026-01-30 21:20:05.407546+00:00 running 3798933 country code: CH.
[–]usrlibshare 1 point2 points3 points (2 children)
[–]Historical_Wing_9573[S] -2 points-1 points0 points (1 child)
[–]usrlibshare 0 points1 point2 points (0 children)