Skip to content

Conversation

@scionaltera
Copy link
Contributor

The VectorStoreChatMemoryAdvisor did not support setting a similarity threshold, so it was fetching everything it found including messages that were not relevant to the user's message in the case where the user has asked about a different topic.

I experimented with setting a threshold higher than 0 and liked the results so I thought I'd submit a PR. The default is still 0 so as not to change the original behavior.

@scionaltera
Copy link
Contributor Author

Closing to squash the additional commit.

@scionaltera scionaltera deleted the add-vector-store-similarity branch May 27, 2025 05:08
@scionaltera scionaltera restored the add-vector-store-similarity branch May 27, 2025 05:09
@scionaltera scionaltera deleted the add-vector-store-similarity branch May 27, 2025 05:10
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.

1 participant