When to Retrieve: Teaching LLMs to Utilize Information Retrieval Effectively | Read Paper on Bytez