Skip to content

Commit

Permalink
Added default dim num for vector datapoint type
Browse files Browse the repository at this point in the history
  • Loading branch information
markgw committed Feb 10, 2020
1 parent 32497ac commit 8695833
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/python/pimlico/datatypes/corpora/floats.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ class VectorDocumentType(RawDocumentType):
"""
formatters = [("vector", "pimlico.datatypes.floats.VectorFormatter")]
metadata_defaults = {"dimensions": 10}

def reader_init(self, reader):
super(VectorDocumentType, self).reader_init(reader)
Expand Down

0 comments on commit 8695833

Please sign in to comment.