Skip to main content

Formula Formatting

Would be amazing if formulas and such were nicely formatted like ChatGPT!

Image
Image
Status: Completed5 comments

Log in to comment and vote

Comments5

  • Theo Browne

    Team

    Just pushed a system prompt that should fix this. If you guys could provide reproductions of prompts that render incorrectly + the model you had selected, it will be much easier for us to debug

  • Mark Florkowski

    Team

    WORKAROUND: Sometimes the models don’t follow their prompts well, you can add the following to your customization or directly inline to your prompt:

    Please format all equations using latex wrapped in escaped parenthesis, such as: \( some_formula \)
    • Purple Exoplanet

      Something with the rendering itself is wrong.

      I’m new to t3 so I don’t know if this was a feature before this bug was introduced. But it would be cool if math rendering would work on the user input too.

      • Mark Florkowski

        Team

        It does work on user input. There are just some edge cases where it breaks. The workaround is just something to try if it does fail.

  • Mark Florkowski

    Team

    Moved to bug report because we do have this feature, if you are not seeing it, that is a bug.