Skip to content

Commit a33b729

Browse files
authored
Lower DocumentMemoryMinRelevance from 0.8 to 0.66 (#1006)
### Motivation and Context We want relevant files to be included. ### Description Lower DocumentMemoryMinRelevance from 0.8 to 0.66
1 parent 2b21a71 commit a33b729

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webapi/Options/PromptsOptions.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ public class PromptsOptions
3737
internal double MemoriesResponseContextWeight { get; } = 0.6;
3838

3939
/// <summary>
40-
/// Upper bound of the relevancy score of a kernel memory to be included in the final prompt.
40+
/// Upper bound of relevance score of a kernel memory to be included in the final prompt.
4141
/// The actual relevancy score is determined by the memory balance.
4242
/// </summary>
4343
internal float SemanticMemoryRelevanceUpper { get; } = 0.9F;
4444

4545
/// <summary>
46-
/// Lower bound of the relevancy score of a kernel memory to be included in the final prompt.
46+
/// Lower bound of relevance score of a kernel memory to be included in the final prompt.
4747
/// The actual relevancy score is determined by the memory balance.
4848
/// </summary>
4949
internal float SemanticMemoryRelevanceLower { get; } = 0.6F;
@@ -52,7 +52,7 @@ public class PromptsOptions
5252
/// Minimum relevance of a document memory to be included in the final prompt.
5353
/// The higher the value, the answer will be more relevant to the user intent.
5454
/// </summary>
55-
internal float DocumentMemoryMinRelevance { get; } = 0.8F;
55+
internal float DocumentMemoryMinRelevance { get; } = 0.66F;
5656

5757
// System
5858
[Required, NotEmptyOrWhitespace] public string KnowledgeCutoffDate { get; set; } = string.Empty;

0 commit comments

Comments
 (0)