agrag.retrieval.tracing.result_text
result_text(result:SearchResult) -> str
Return the text a result stands for.
Entities, resolved entities and communities give their embedding text,
chunks their text, relations TYPE(source_id, target_id), and scalar
query rows JSON.
Parameters:
- result (
SearchResult) – The result to render.
Returns:
str– The text the result's item stands for.