News for hackers. Stuff that matters.
Re:I spent $100 to learn how to build and run RAG applicatio... by staranjeet on Monday January 01, 2024 @11:42AM (#38833088)
This post is about learnings by running a RAG application in production.

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.

There are no comments on this comment yet.