updated readme, function description for chat function