microsoft-foundry / microsoft-foundry/foundry-samples

Mistral AI python samples: '$' sign in the extracted markdown text breaks displaying the table (mistral-docai-basics.ipynb)

Open
#288 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Bicep
Stars
445
Forks
494
Avg merge
11h 35m
Merged PRs (30d)
38

Description

In the file mistral-docai-basics.ipynb, in the line display(Markdown(simple_combined_markdown(ms8kResponse.json()["pages"][5]))) the presence of the '$' sign leads to incorrect displaying of the table from the document. A quick fix is to replace all occurrences of '$' to 'USD':

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open mistral-docai-basics.ipynb and inspect the display(Markdown(simple_combined_markdown(ms8kResponse.json()["pages"][5]))) line. Reproduce the table-rendering problem, then verify that replacing '$' occurrences with 'USD' makes the extracted markdown table display correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
ai
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.