r/ChatGPTCoding • u/Fleischkluetensuppe • Mar 24 '24
Resources And Tips 100% Serverless RAG pipeline - Article
https://medium.com/@fynnfluegge/serverless-rag-on-aws-bf8029f8bffd5
u/Fleischkluetensuppe Mar 24 '24
Based on my previous post https://www.reddit.com/r/ChatGPTCoding/comments/1b4q9t9/100_serverless_rag_pipeline/
I created an article how I achieved it!
6
u/reddit_wisd0m Mar 24 '24
Maybe a stupid question but why is this called serverless while still cloud services are used?
15
u/Fleischkluetensuppe Mar 24 '24
AWS Lambda is called serverless, because no server instance is hosted. You pay only for each execution. On each execution your instance is starting and kept “warm” for a while.
Serverless is a cloud pattern.
6
2
u/CheeseRocker Mar 24 '24
Cool, thank you for writing up and sharing. AWS has a nice allowance for free use of DynamoDB and Lambda, with an amount that is well above my use case. So something like what you have here fits well.
2
u/Fleischkluetensuppe Mar 24 '24
Yes it charges peanuts for these kinds of setup. Perfect for personal use cases or trying out something new
2
2
0
Mar 24 '24
[deleted]
3
u/m-gunn-code Mar 24 '24
The fact that you don’t have to manage a server
0
Mar 24 '24
[deleted]
2
u/m-gunn-code Mar 24 '24
if you run a rag pipeline on a dedicated server it won’t be serverless. but if you use a serverless architecture it will be serverless. Lambdas, S3 and DynamoDB are serverless so the rag pipeline is serverless
0
4
u/Tough_Palpitation331 Mar 24 '24
How are you tackling the AWS Lambda cold start latency? Or is this not a concern for you?