p3: map Brave LLM Context; RRF merge; per-source no_rerank

Live llm/context hits live in grounding.generic plus a URL-keyed
sources map, not a sources array. Fan-in uses reciprocal-rank fusion
instead of cosine. no_rerank keeps that source's own order as a prefix.
This commit is contained in:
2026-09-23 16:02:21 -07:00
parent eb4e46d036
commit b6e1cdf825
10 changed files with 264 additions and 58 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"grounding": {
"generic": [
{
"url": "https://docs.tavily.com/documentation/api-reference/endpoint/search",
"title": "Tavily Search API",
"snippets": ["POST /search with query and max_results.", "search_depth basic is one credit."]
},
{
"url": "https://api.search.brave.com/help",
"title": "Brave Search API",
"snippets": ["LLM Context returns grounding.generic."]
}
]
},
"sources": {
"https://docs.tavily.com/documentation/api-reference/endpoint/search": {
"title": "Tavily Search API",
"hostname": "docs.tavily.com"
},
"https://orphan.example/only-in-sources": {
"title": "Orphan",
"hostname": "orphan.example"
}
}
}