Learning to make a Online Relationship Function