get the dynamic prompt