fix: update mismatch vector type (#9462)
This commit is contained in:
parent
a53fdc7126
commit
2155bba5b0
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ class PGVectoRSFactory(AbstractVectorFactory):
|
|||
else:
|
||||
dataset_id = dataset.id
|
||||
collection_name = Dataset.gen_collection_name_by_id(dataset_id).lower()
|
||||
dataset.index_struct = json.dumps(self.gen_index_struct_dict(VectorType.WEAVIATE, collection_name))
|
||||
dataset.index_struct = json.dumps(self.gen_index_struct_dict(VectorType.PGVECTO_RS, collection_name))
|
||||
dim = len(embeddings.embed_query("pgvecto_rs"))
|
||||
|
||||
return PGVectoRS(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue