Closed duwenxin99 closed 4 months ago
Implements LangChain _select_relevance_score_fn function to support similarity search with score threshold: https://github.com/langchain-ai/langchain/blob/cb95198398a66737f1a7f7e0f63417802e03190c/libs/core/langchain_core/vectorstores/base.py#L611
_select_relevance_score_fn
Same comments as AlloyDB PR
Implements LangChain
_select_relevance_score_fn
function to support similarity search with score threshold: https://github.com/langchain-ai/langchain/blob/cb95198398a66737f1a7f7e0f63417802e03190c/libs/core/langchain_core/vectorstores/base.py#L611