MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _paper_query_haystack

Function _paper_query_haystack

deployments/desktop/shared/agents.py:4263–4285  ·  view source on GitHub ↗
(paper: Dict[str, Any])

Source from the content-addressed store, hash-verified

4261 "两篇",
4262)
4263
4264_LOCAL_PAPER_STOP_TOKENS = {
4265 "paper",
4266 "papers",
4267 "arxiv",
4268 "research",
4269 "trend",
4270 "trends",
4271 "related",
4272 "recent",
4273 "week",
4274 "summary",
4275 "summarize",
4276 "compare",
4277 "method",
4278 "methods",
4279}
4280
4281_DIRECT_STARTERS = (
4282 "什么是",
4283 "解释一下",
4284 "解释下",
4285 "介绍一下",
4286 "介绍下",
4287 "如何理解",
4288 "define ",

Callers 1

Calls 3

_compact_listFunction · 0.85
getMethod · 0.80
_load_jsonFunction · 0.70

Tested by

no test coverage detected