A human-machine interaction method and apparatus based on artificial intelligence. In the method, a user-entered interaction sentence is received, and whether to generate an interaction result corresponding to the interaction sentence is determined; and interaction information to be presented to the user is determined based on a determining result, the interaction information including at least one of following items: the generated interaction result corresponding to the interaction sentence, or a search result corresponding to the interaction sentence in a search engine.