Text this: Foundational Models for Pathology and Endoscopy Images: Application for Gastric Inflammation