fix: Make embedding_endpoint_type
an enum
#2251
Merged
embedding_endpoint_type
an enum
#2251