mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 11:39:18 +00:00
community[patch]: docstrings (#16810)
- added missed docstrings - formated docstrings to the consistent form
This commit is contained in:
@@ -47,12 +47,14 @@ def _results_to_docs(docs_and_scores: Any) -> List[Document]:
|
||||
|
||||
|
||||
class BaseEmbeddingStore:
|
||||
"""Embedding store."""
|
||||
"""Base class for the Lantern embedding store."""
|
||||
|
||||
|
||||
def get_embedding_store(
|
||||
distance_strategy: DistanceStrategy, collection_name: str
|
||||
) -> Any:
|
||||
"""Get the embedding store class."""
|
||||
|
||||
embedding_type = None
|
||||
|
||||
if distance_strategy == DistanceStrategy.HAMMING:
|
||||
|
Reference in New Issue
Block a user