Table of Contents

Property SearchOptions

Namespace
Qavren.Edge.Chat
Assembly
Qavren.Edge.Chat.Onnx.dll

SearchOptions

Raw GeneratorParams.SetSearchOption entries, applied last so they win over everything mapped from ChatOptions.

The native API has exactly two overloads - SetSearchOption(string, double) and SetSearchOption(string, bool) - so this dictionary's values are converted or refused, never quietly dropped. That is deliberately the opposite of the rule for ChatOptions.AdditionalProperties, where an unrecognised value is ignored without error: that one is an open bag shared with the rest of the MEAI pipeline, while this one exists for exactly one purpose and nothing else writes to it, so a "0.7" typed as a string is a typo - and a typo in the escape hatch must not become a temperature that was never applied.

max_length is refused whatever its type: it is the memory cap, and the whole gate depends on the generator getting the value the budget chose.

public IDictionary<string, object> SearchOptions { get; }

Property Value

IDictionary<string, object>