She didn't know.
She only knew that Gamora knew where the stone was, was taken there by Thanos to help obtain it, and didn't come back - she didn't know the conditions under which the soul stone could be obtained (and neither did Thanos, and he thinks he knows everything).
At least that was the impression I got, otherwise there would have been more discussion surrounding obtaining this stone.