Partager via


SemanticMemoryConfig.RelevancyThreshold Property

Definition

The minimum relevancy score for a function to be considered.

public double? RelevancyThreshold { get; set; }
member this.RelevancyThreshold : Nullable<double> with get, set
Public Property RelevancyThreshold As Nullable(Of Double)

Property Value

Remarks

Depending on the embeddings engine used, the user ask, the step goal and the functions available, this value may need to be adjusted. For default, this is set to null which will return the top MaxRelevantFunctions sorted by relevancy.

Applies to