Skip to content

Commit

Permalink
Update ISemanticMemoryClientExtensions.cs
Browse files Browse the repository at this point in the history
fix bug related to issue #851.
Unused parameter relevanceThreshold is passed to SearchAsync method to ensure only relevant documents are fetched.
  • Loading branch information
habanoz authored Apr 6, 2024
1 parent 7bd9d6a commit ff9f8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapi/Extensions/ISemanticMemoryClientExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ await memoryClient.SearchAsync(
indexName,
filter,
null,
0,
relevanceThreshold, // minRelevance param
resultCount,
cancellationToken);

Expand Down

0 comments on commit ff9f8a8

Please sign in to comment.