Improve retrieval ranking for Markdown table value queries
Problem statement
Markdown documents can be uploaded, parsed, indexed, and retrieved successfully, but value lookup queries against Markdown/HTML tables are not reliable enough.
The correct table chunk was not ranked near the top. In one observed run, the chunk containing the correct table value was returned at rank 4 with a low score, behind less relevant text chunks.
Affected area
Retrieval
Proposed solution
Improve retrieval support for Markdown/HTML table chunks so that row-level numeric queries rank the correct table chunk near the top.
The improvement should preserve the original table content for display, while making table rows easier for retrieval to match. For example, a table row like:
<tr>
<td>1000</td>
<td>inspect_evidence_score_mean</td>
<td>0.5572</td>
<td>0.5099</td>
<td>0.5674</td>
</tr>
could also be represented internally as searchable row text such as:
Budget 1000 Metric inspect_evidence_score_mean Hier Gold 0.5572 Hier Pred 0.5099 Flat 0.5674
This searchable representation could be included in the table chunk's search fields, while keeping the original HTML table as the returned/displayed content.
hi here, we are trying to reproduce the error, we have tested the same files in https://notebook.knowhereto.ai/, but everthing works, but answer is 0.5674. the log is as follows: [attempt_answer] raw='{"status": "DONE", "answer": "For budget 1000, the Flat inspect_evidence_score_mean is 0.5674."}' agentic retrieval DONE: 2 referenced chunks, answer_text=64 chars, revisions=0, 14306ms. Could please try the task in our notebook first? Pleae ensure that your LLM API keys and URL are correct, and could you please provide your local env variables (excluding LLM API keys)?