How To Model An Llm Based System