### What problem does this PR solve? This PR fixes a critical bug in the knowledge base isolation feature where chat responses were referencing documents from incorrect knowledge bases. The issue was in the `infinity_conn.py` file where the `equivalent_condition_to_str()` function was incorrectly skipping `kb_id` filtering, causing documents from unintended knowledge bases to be included in search results. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Co-authored-by: Syed Shahmeer Ali <ashahmeer73@gmail.com> Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| azure_sas_conn.py | ||
| azure_spn_conn.py | ||
| doc_store_conn.py | ||
| es_conn.py | ||
| infinity_conn.py | ||
| mcp_tool_call_conn.py | ||
| minio_conn.py | ||
| opendal_conn.py | ||
| opensearch_conn.py | ||
| oss_conn.py | ||
| redis_conn.py | ||
| s3_conn.py | ||
| storage_factory.py | ||
| tavily_conn.py | ||