Skip to content

feat: expose more information about the index#14

Merged
heyjorgedev merged 3 commits intomasterfrom
update-db-info-response
Feb 19, 2025
Merged

feat: expose more information about the index#14
heyjorgedev merged 3 commits intomasterfrom
update-db-info-response

Conversation

@heyjorgedev
Copy link
Contributor

@heyjorgedev heyjorgedev commented Feb 18, 2025

This PR adds new fields to the IndexInfo response.

"result": {
    "vectorCount": 7,
    "pendingVectorCount": 0,
    "indexSize": 43501,
    "dimension": 1024,
    "similarityFunction": "COSINE",
    "indexType": "HYBRID",
    "denseIndex": {
      "dimension": 1024,
      "similarityFunction": "COSINE",
      "embeddingModel": "BGE_M3"
    },
    "sparseIndex": {
      "embeddingModel": "BM25"
    },
    "namespaces": {
      "": {
        "vectorCount": 6,
        "pendingVectorCount": 0
      },
      "ns": {
        "vectorCount": 1,
        "pendingVectorCount": 0
      }
    }
  }

sparseIndex, denseIndex and indexType were added.

@heyjorgedev heyjorgedev added the enhancement New feature or request label Feb 18, 2025
@heyjorgedev heyjorgedev merged commit c424591 into master Feb 19, 2025
9 checks passed
@heyjorgedev heyjorgedev deleted the update-db-info-response branch February 19, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants