in migrate.py [0:0]
def get_embedding(embeddings_model, text): response = embeddings_model.embed(input=[text]) return response.data[0]["embedding"]