Conversation
Deleted the _cleanup_answer and _answer_style_guidance functions from context_answer.py, consolidating answer cleanup and style guidance logic elsewhere or removing unused code.
Adds mapping from symbol_path to point_id for more accurate graph edge extraction and linking in the ingest pipeline. Improves edge upsert logic to include caller_point_id, updates backfill to avoid edge deletion, and adds dynamic backend detection for edge upserts. Also improves symbol matching in Neo4j queries to support suffix matches for fully-qualified names and adds throttling for PageRank computation.
🤖 Augment PR SummarySummary: This PR streamlines graph ingestion/query behavior and removes some expensive default work during indexing. Changes:
Technical Notes: PageRank refresh can be enabled via 🤖 Was this summary useful? React with 👍 or 👎 |
| # or enable `NEO4J_PAGERANK_ON_UPSERT=1` for periodic refreshes. | ||
| if total > 0 and os.environ.get("NEO4J_PAGERANK_ON_UPSERT", "").strip().lower() in {"1", "true", "yes", "on"}: | ||
| import time as _time | ||
| min_interval = float(os.environ.get("NEO4J_PAGERANK_ON_UPSERT_MIN_INTERVAL", "300") or 300) |
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.