A generalized framework for embedding-based few-shot learning methods in drug discovery