Editing
Embeddings Vector Dbs
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Analyzing</span> == {| class="wikitable" |+ Embedding Model Comparison ! Model !! Dimensions !! Speed !! Quality !! Cost |- | text-embedding-3-small (OpenAI) || 1536 || Fast (API) || Very high || Paid per token |- | text-embedding-3-large (OpenAI) || 3072 || Fast (API) || Highest || More expensive |- | BAAI/BGE-M3 || 1024 || Moderate (local) || Very high || Free (self-hosted) |- | all-MiniLM-L6-v2 || 384 || Very fast (local) || Good || Free (self-hosted) |- | E5-mistral-7b || 4096 || Slow (large model) || Excellent || Free (GPU needed) |} '''Failure modes and pitfalls:''' * '''Embedding model-retrieval mismatch''' β The embedding model used to index documents must be identical to the one used to embed queries. Using different models produces nonsensical results. * '''Chunking artifacts''' β Important context split across chunks leads to poor retrievals. If an answer spans two chunks, neither may score high enough to be retrieved. * '''Embedding stale data''' β If documents are updated but re-embedding is not triggered, the index serves outdated information. Implement change detection and incremental re-indexing. * '''Dimensionality curse''' β In very high dimensions, all vectors tend to become equidistant from each other, degrading nearest-neighbor search quality. Use models with well-calibrated dimensionalities. * '''Semantic gap''' β Embeddings capture distributional semantics but may miss precise numerical facts, dates, or codes. Combine with structured filters or keyword search. </div> <div style="background-color: #483D8B; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information