interaction mode for doc generation