chat_history.character function

Method for chat_history() when the input is a single string