chore: reuse existing test functions with upstash vdb (#9679)
This commit is contained in:
parent
d5a93a6400
commit
ceb2c4f3ef
3 changed files with 7 additions and 42 deletions
|
|
@ -117,7 +117,7 @@ class UpstashVectorFactory(AbstractVectorFactory):
|
|||
collection_name = class_prefix.lower()
|
||||
else:
|
||||
dataset_id = dataset.id
|
||||
collection_name = Dataset.gen_collection_name_by_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.UPSTASH, collection_name))
|
||||
|
||||
return UpstashVector(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue