Skip to content

Enhance VectorStore filtering with debug logging and update similarit…#126

Merged
csmangum merged 2 commits intodevfrom
similarity-search-validation
May 15, 2025
Merged

Enhance VectorStore filtering with debug logging and update similarit…#126
csmangum merged 2 commits intodevfrom
similarity-search-validation

Conversation

@csmangum
Copy link
Copy Markdown
Contributor

…y validation

This commit improves the filtering logic in the VectorStore class by adding detailed debug logging to track the metadata filtering process. It also updates the similarity validation memory JSON to change the current tier from "im" to "stm". Additionally, the SimilaritySearchTestSuite is modified to include new expected memory IDs and adjust the minimum score and result limit for specific tests, enhancing the robustness of similarity search validations.

…y validation

This commit improves the filtering logic in the VectorStore class by adding detailed debug logging to track the metadata filtering process. It also updates the similarity validation memory JSON to change the current tier from "im" to "stm". Additionally, the SimilaritySearchTestSuite is modified to include new expected memory IDs and adjust the minimum score and result limit for specific tests, enhancing the robustness of similarity search validations.
@csmangum csmangum requested a review from Copilot May 15, 2025 01:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request enhances the VectorStore filtering logic by adding detailed debug logging while updating the similarity validation memory JSON and adjusting expected outcomes in the SimilaritySearchTestSuite.

  • Added detailed debug logging in metadata filtering within VectorStore.
  • Updated "current_tier" from "im" to "stm" in similarity validation memory JSON.
  • Modified test cases in SimilaritySearchTestSuite with new expected memory IDs, adjusted min_score, and result limit.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
validation/search/similarity/similarity_test_suite.py Updated expected memory IDs, min_score, and limit for tests
validation/memory_samples/similarity_validation_memory.json Updated the value of "current_tier" to reflect the new tier
memory/embeddings/vector_store.py Added debug logging to trace metadata filtering during retrieval

Comment thread memory/embeddings/vector_store.py Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@csmangum csmangum merged commit 3e1e03a into dev May 15, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants