trustgraph/trustgraph-cli
cybermaggedon 1a7b654bd3
Add semantic pre-filter for GraphRAG edge scoring (#702)
Embed edge descriptions and compute cosine similarity against grounding
concepts to reduce the number of edges sent to expensive LLM scoring.
Controlled by edge_score_limit parameter (default 30), skipped when edge
count is already below the limit.

Also plumbs edge_score_limit and edge_limit parameters end-to-end:
- CLI args (--edge-score-limit, --edge-limit) in both invoke and service
- Socket client: fix parameter mapping to use hyphenated wire-format keys
- Flow API, message translator, gateway all pass through correctly
- Explainable code path (_question_explainable_api) now forwards all params
- Default edge_score_limit changed from 50 to 30 based on typical subgraph
  sizes
2026-03-21 20:06:29 +00:00
..
trustgraph/cli Add semantic pre-filter for GraphRAG edge scoring (#702) 2026-03-21 20:06:29 +00:00
pyproject.toml Subgraph provenance (#694) 2026-03-13 11:37:59 +00:00
README.md Maint/rename pkg (#88) 2024-09-30 22:20:26 +01:00