A little context would help to make this clearer.
However, I think what you are referring to are situations like:
Person 1: Hey, do you want to see this awesome exhibit with me at the museum?!
Person 2: You bet!
This 'you bet' is used to say something like 'Sure', 'absolutely', etc. It's an affirmative answer.
and:
"I bet you're happy that exams are finished for the school year."
This 'I bet' is used to show an assumption, similar to how we might say 'I think...' or 'I imagine...' You can also use 'I bet' to show a prediction that something will happen. "I bet she'll go to the party tonight since her friends are all going."
I hope that helps! :)