Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responses contain LaTeX equations in text format #6

Closed
umar221b opened this issue Nov 9, 2024 · 3 comments
Closed

Responses contain LaTeX equations in text format #6

umar221b opened this issue Nov 9, 2024 · 3 comments

Comments

@umar221b
Copy link

umar221b commented Nov 9, 2024

One of my students received a response that contains LaTeX in text format:

Screenshot 2024-11-09 at 8 50 54 PM

It looks like ChatGPT uses Katex to typeset mathematical equations after it generates them. I wonder if something similar is possible here.

Happy to play around with the idea and try to come up with a PR.

@liffiton
Copy link
Owner

Thanks for the suggestion! I've also seen a few responses with tex formulas here and there. They're rare, but adding mathjax or katex to render them shouldn't be too hard and is probably worth the added weight. I'll figure out how best to fit that into the application (though I appreciate the offer to make a PR).

@liffiton
Copy link
Owner

Should be fixed now. Let me know if you spot any problems with it. And thanks again for the nudge!

@umar221b
Copy link
Author

Works wonderfully. Thanks a lot for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants