mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 12:59:07 +00:00
Improvement[Community] Improve args description in api doc of DocArrayInMemorySearch
(#26024)
- Add missing arg - Remove redundant arg
This commit is contained in:
@@ -59,9 +59,7 @@ class DocArrayInMemorySearch(DocArrayIndex):
|
|||||||
embedding (Embeddings): Embedding function.
|
embedding (Embeddings): Embedding function.
|
||||||
metadatas (Optional[List[Dict[Any, Any]]]): Metadata for each text
|
metadatas (Optional[List[Dict[Any, Any]]]): Metadata for each text
|
||||||
if it exists. Defaults to None.
|
if it exists. Defaults to None.
|
||||||
metric (str): metric for exact nearest-neighbor search.
|
**kwargs: Other keyword arguments to be passed to the from_params method.
|
||||||
Can be one of: "cosine_sim", "euclidean_dist" and "sqeuclidean_dist".
|
|
||||||
Defaults to "cosine_sim".
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
DocArrayInMemorySearch Vector Store
|
DocArrayInMemorySearch Vector Store
|
||||||
|
Reference in New Issue
Block a user