LLM-based policy generation for intent-based management of applications