Skip to content

Commit

Permalink
Update return type in TextEmbeddingBase
Browse files Browse the repository at this point in the history
  • Loading branch information
NirantK committed Feb 7, 2024
1 parent a69f1f2 commit bb724f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastembed/text/text_embedding_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def query_embed(self, query: Union[str, Iterable[str]], **kwargs) -> Iterable[np
query (Union[str, Iterable[str]]): The query to embed, or an iterable e.g. list of queries.
Returns:
np.ndarray: The embeddings.
Iterable[np.ndarray]: The embeddings.
"""

# This is model-specific, so that different models can have specialized implementations
Expand Down

0 comments on commit bb724f0

Please sign in to comment.