Support numpy arrays in Binary subtype 9

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      BSON Binary Vector Subtype Support was introduced in PYTHON-4577 but converting numpy arrays wasn't included in the initial scope. 

      Currently, customer can instead uses a BinaryVectorDtype.FLOAT32 : bson_query_vector = Binary.from_vector(query_text_embeddings, BinaryVectorDtype.FLOAT32)

      Definition of done

      Support natively numpy arrays

            Assignee:
            Unassigned
            Reporter:
            Shubham Ranjan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: