mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-28 06:48:50 +00:00
multiple: merge master into v0.3rc branch (#26163)
Signed-off-by: ChengZi <chen.zhang@zilliz.com> Co-authored-by: Bagatur <baskaryan@gmail.com> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com> Co-authored-by: Tomaz Bratanic <bratanic.tomaz@gmail.com> Co-authored-by: ZhangShenao <15201440436@163.com> Co-authored-by: Friso H. Kingma <fhkingma@gmail.com> Co-authored-by: Chester Curme <chester.curme@gmail.com> Co-authored-by: ChengZi <chen.zhang@zilliz.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user