Every RAG pipeline needs to convert text into vectors. The question is where that conversion happens. You have two options: run an embedding model locally on your own hardware, or call an API that runs the model on someone else's hardware.

Source: [Dev.to](https://dev.to/pgmpofu/local-embeddings-vs-api-embeddings-why-i-chose-sentence-transformers-21jc)

Sponsored