Vector Embeddings with Azure OpenAI vs Opensource
summary
Compares Azure OpenAI embeddings against open‑source models by building an Azure Cognitive Search vector index for a car‑catalog dataset and measuring embed time, vector dims, search speed and cosine similarity. Uses Azure OpenAI text‑embedding‑3‑small (1536d), text‑embedding‑3‑large (3072d) and text‑embedding‑3‑002 (1536d) with index creation times ~113–122s and vector search fastest on text‑embedding‑3‑002; open‑source models like MiniLM‑L6 v2 (384d) and VAST/cohere run embedding in 7–14s, VAST shows highest average cosine similarity; cost, chunk size, and HNSW params (M, EF construction/EF search) drive the final choice.
AI-written summary · about
