A monologue is a speech by one person directly addressing an audience. An opening monologue is often a segment of stand up comedy, such as at the beginning of The Tonight Show.
In a monologue, the actor need not be alone, however, none of the supporting cast (in theatre or film) speaks. When the actor is alone, perchance thinking out loud, this is a soliloquy, not a monologue.