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