# contruct the data payload to be uploaded to your index
data = [
    {
        "url": row["url"],
        "title": row["title"],
        "text": row["text"],
        "wiki_id": row["wiki_id"],
        "paragraph_id": row["paragraph_id"],
        "id": row["id"],
        "views": row["views"],
        "langs": row["langs"],
        "embedding": v,
    }
    for row, v in zip(corpus, res)
]