How to train gpt model with own chat data Eg: like slack channel chat

how to train open ai model for getting answer from it and the data is of slack (group) which is chat. i don’t know that how to feed chat in which from to the model