BaseSparseEmbedding#
- class langchain_milvus.utils.sparse.BaseSparseEmbedding[source]#
Interface for Sparse embedding models.
You can inherit from it and implement your custom sparse embedding model.
Methods
__init__
()embed_documents
(texts)Embed search docs.
embed_query
(query)Embed query text.
- __init__()#