Skip to content

fix: BM25 zero vectors and auto-create collections#165

Merged
andrehrferreira merged 1 commit intomainfrom
fix/bm25-zero-vectors-and-auto-create-collections
Dec 18, 2025
Merged

fix: BM25 zero vectors and auto-create collections#165
andrehrferreira merged 1 commit intomainfrom
fix/bm25-zero-vectors-and-auto-create-collections

Conversation

@caikpigosso
Copy link
Collaborator

  • Fix BM25 embedding fallback when vocabulary is empty
  • Add automatic collection creation in /insert endpoint
  • Fix dashboard config endpoint routes (/config instead of /api/config)
  • Add GPU collection persistence fix (respect gpu.enabled config)
  • Add utility scripts for fixing dimension mismatch and GPU collections

Fixes:

  • BM25 now uses hash-based fallback when vocabulary is empty
  • Collections are automatically created if they don't exist
  • Dashboard can now update configurations correctly
  • GPU collections respect gpu.enabled: false setting

- Fix BM25 embedding fallback when vocabulary is empty
- Add automatic collection creation in /insert endpoint
- Fix dashboard config endpoint routes (/config instead of /api/config)
- Add GPU collection persistence fix (respect gpu.enabled config)
- Add utility scripts for fixing dimension mismatch and GPU collections

Fixes:
- BM25 now uses hash-based fallback when vocabulary is empty
- Collections are automatically created if they don't exist
- Dashboard can now update configurations correctly
- GPU collections respect gpu.enabled: false setting
@andrehrferreira andrehrferreira merged commit b2ebb56 into main Dec 18, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants