Check gravity velocity?

Hello. Is there any way I can check what portion of rigidbody’s velocity comes from gravity?
I have a rigidbody in motion, on which I have added additional AddForce, and I need to do calculations with his new velocity, but rule out velocity from gravity entirely. Since my rigidbody is jumping around and hitting obstacles constantly, I cannot monitor the exact influence from gravity on it, so I cannot hard-code it - plus gravity makes rigidbody accelerate all the time. Any help would be appreciated, thanks in advance.

Ya you can check the direction of velocity by
Debug.Log(obj.rigidbody.velocity);

If its moving up the velocity in y dir will be +ve
if its moving down velocity in y dir will be -ve
similarly left velocity in x will be -ve and so in right will be +ve

Hope this will help you