Improving Accuracy of LLM Applications