chat repository