The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Improvement[Community] Improve args description in api doc of `DocArrayInMemorySearch` (#26024)
ZhangShenaoc81223721773
diff --git a/libs/community/langchain_community/vectorstores/docarray/in_memory.py b/libs/community/langchain_community/vectorstores/docarray/in_memory.pyindex 6abe0232e1..32fe95d950 100644--- a/libs/community/langchain_community/vectorstores/docarray/in_memory.py+++ b/libs/community/langchain_community/vectorstores/docarray/in_memory.py@@ -59,9 +59,7 @@ class DocArrayInMemorySearch(DocArrayIndex):embedding (Embeddings): Embedding function.metadatas (Optional[List[Dict[Any, Any]]]): Metadata for each textif 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