I spent $100 to learn how to build and run RAG application in production
twitter.com
twitter.com
Here are the learnings:
• Always customise your prompt. • Set soft & hard limit on your LLM cost before launching any project. • Choose the LLM model wisely. • Context length matters a lot. • Cache your queries. • Have a router to choose LLM model wisely. • Have a UI to see all queries, answers, context & metrics like response time. • Memory management in chat is painful.
Embedchain seems quite promising. Will give it a try for my next project.