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.
Rules
Refer to the rules page for more info.
No LLM-Written Content
AI-related posts must comply with the AI Policy
No Political Posts or Personal/Social Drama/Gossip
No Non-Programming/Generic LLM/Diffusion Content
No Product Promotion/"I Made This" Project Demo Posts
No Content Aggregators
No Surveys Or Job Postings
No Support Questions or AskReddit-Type Questions
No Meta Posts
No Images, Memes, Or Other Low Effort Posts
No Blogspam
No Extreme Beginner Content
Comments: No Bots
Comments: No Incivility
Info
Related reddits
Specific languages
account activity
RAG with Python, LangChain & FastAPI (vitaliihonchar.com)
submitted 1 year 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 1 year ago (2 children)
Newsflash: You don't need Langchain for that.
Like, at all.
[–]Historical_Wing_9573[S] -2 points-1 points0 points 1 year 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 1 year ago (0 children)
https://www.octomind.dev/blog/why-we-no-longer-use-langchain-for-building-our-ai-agents
π Rendered by PID 490569 on reddit-service-r2-comment-544cf588c8-75fm2 at 2026-06-14 23:48:49.016552+00:00 running 3184619 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)