Files
langchain/tests/integration_tests
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-07-02 08:22:24 -06:00
2023-06-28 23:04:11 -07:00
2023-06-28 23:04:11 -07:00
2023-07-01 13:39:19 -04:00
2023-07-02 08:22:24 -06:00
2022-10-24 14:51:15 -07:00
2023-06-20 22:07:00 -07:00