SparseEmbeddings#
- class langchain_qdrant.sparse_embeddings.SparseEmbeddings[source]#
An interface for sparse embedding models to use with Qdrant.
Methods
aembed_documents
(texts)Asynchronous Embed search docs.
aembed_query
(text)Asynchronous Embed query text.
embed_documents
(texts)Embed search docs.
embed_query
(text)Embed query text.
- async aembed_documents(
- texts: list[str],
Asynchronous Embed search docs.
- Parameters:
texts (list[str])
- Return type:
list[SparseVector]
- async aembed_query(
- text: str,
Asynchronous Embed query text.
- Parameters:
text (str)
- Return type:
- abstractmethod embed_documents(
- texts: list[str],
Embed search docs.
- Parameters:
texts (list[str])
- Return type:
list[SparseVector]
- abstractmethod embed_query(
- text: str,
Embed query text.
- Parameters:
text (str)
- Return type: