Expand description
Graph-aware context assembly that combines semantic search results with entity-graph traversals.
Structs§
- Assembled
Context - Result of graph-aware context assembly
- Context
Item - A single piece of assembled context with its relevance score.
- Entity
Context - An entity and its graph neighborhood relevant to the query
- Impact
Entry - An entity that would be impacted by changes to a query entity
Enums§
- Context
Source - How a context item was found
- Entity
Relevance - How an entity relates to the original query.
Functions§
- analyze_
impact - Perform impact analysis: find all entities that depend on any of the query entities. Traverses DependsOn, RequiredBy, and Implements edges in reverse.
- assemble_
context - Assemble context from a session’s entity graph and context updates.
- boost_
by_ graph - Score and boost semantic search results based on entity graph connections.
- build_
entity_ context - Build entity context: for each query entity, traverse the graph to find related entities and their typed relationships.
- find_
query_ entities - Extract entity names that appear in the query text.
- format_
for_ llm - Format assembled context as a text block suitable for LLM injection.