Determining when to semi-bluff involves assessing the board texture, your opponent's range and playing style, and the pot odds, to identify situations where you have a strong draw and a decent chance of improving to the best hand, while also having a reasonable chance of getting your opponent to fold, making the semi-bluff a profitable play in expectation.