Support multiple web search backends: SearXNG, Staan, and Tavily (#948)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-09-04 22:14:29 +02:00
1 parent 4d8d30e15e
commit 4141e7c504
57 files changed
+3734 -1088

No files matched your search

@@ -17,4 +17,14 @@ public static class SafeSearchPolicyExtensions
_ => "0",
};
/// <summary>
/// The value Tavily expects for its safe search parameter.
/// </summary>
/// <remarks>
/// Tavily knows filtering only as on or off, so a moderate policy is filtered as strictly as
/// a strict one. Of the two ways to round that, filtering more than was asked for is the one
/// that cannot surprise anyone.
/// </remarks>
public static bool ToTavilyValue(this SafeSearchPolicy policy) => policy is not SafeSearchPolicy.OFF;
}