Jupyter Notebook
vector_data = []

for sentence in data:
    
    embedding = model.encode(sentence["text"])
    vector_info = {"id":sentence["id"], "values": embedding.tolist()}
    
    vector_data.append(vector_info)

Embeddings