Skip to content

Commit

Permalink
keep sync
Browse files Browse the repository at this point in the history
  • Loading branch information
generall committed Jan 23, 2025
1 parent a6134ec commit d6cc925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qdrant_client/async_qdrant_fastembed.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def _validate_collection_info(self, collection_info: models.CollectionInfo) -> N
modifier == models.Modifier.IDF
), f"{self.sparse_embedding_model_name} requires modifier IDF, current modifier is {modifier}"

async def get_embedding_size(self, model_name: Optional[str] = None) -> int:
def get_embedding_size(self, model_name: Optional[str] = None) -> int:
"""
Get the size of the embeddings produced by the specified model.
Expand Down
1 change: 1 addition & 0 deletions tools/async_client_generator/fastembed_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def get_async_methods(class_obj: type) -> list[str]:
"set_sparse_model",
"get_vector_field_name",
"get_sparse_vector_field_name",
"get_embedding_size",
"get_fastembed_vector_params",
"get_fastembed_sparse_vector_params",
"embedding_model_name",
Expand Down

0 comments on commit d6cc925

Please sign in to comment.