generate models for conversation