I built this during my PhD! you can embed *documents* using the OpenAI embeddings, do arithmetic on them, and then decode them back to text e.g. E = emb(“Elon Musk bought Twitter in 2022”) – emb(“Elon Musk”)
vec2text(e) = “Someone bought twitter in 2022”
Document Embeddings: Arithmetic and Text Decoding Techniques
By
–