Files
langchain/tests/integration_tests/vectorstores
Mike Salvatore d0c7f7c317 Remove None default value for FAISS relevance_score_fn (#7085)
## Description

The type hint for `FAISS.__init__()`'s `relevance_score_fn` parameter
allowed the parameter to be set to `None`. However, a default function
is provided by the constructor. This led to an unnecessary check in the
code, as well as a test to verify this check.

**ASSUMPTION**: There's no reason to ever set `relevance_score_fn` to
`None`.

This PR changes the type hint and removes the unnecessary code.
2023-07-03 10:11:49 -06:00
..
2023-04-26 21:45:03 -07:00
2023-04-16 13:11:30 -07:00
2023-04-05 06:51:32 -07:00
2022-11-19 20:32:45 -08:00
2023-04-16 13:44:04 -07:00
2023-02-26 22:11:38 -08:00
2023-06-22 08:00:15 -07:00
2023-06-11 20:56:51 -07:00
2023-04-27 08:14:36 -07:00
2023-04-22 08:26:19 -07:00
2023-04-22 09:17:38 -07:00
2023-04-28 21:25:33 -07:00
2023-07-02 12:15:50 -07:00
2023-04-22 08:26:19 -07:00