Langchain.
matrices (List[List[float]]) and return a matrix of scores where higher values indicate greater similarity. similarity_threshold: Optional[float] = None Threshold for determining when two documents are similar enough to be considered redundant. Defaults to None, must be specified if k is set to