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

Cannot convert inline math fomula #1223

Open
jhchundev opened this issue Jan 21, 2024 · 6 comments · May be fixed by #1857
Open

Cannot convert inline math fomula #1223

jhchundev opened this issue Jan 21, 2024 · 6 comments · May be fixed by #1857

Comments

@jhchundev
Copy link

I have deployed it to Azure and am using it.
There is an issue where inline formulas are not converted correctly.
I would like to try to fix it myself, but if you know the cause, it would be helpful if you could fix it.

[Evidence]
ChatGPT
image

Gemini
image

I think other models can occur same problem

@juanpablogd
Copy link

Test with Openchat 3.5
image

@jhchundev
Copy link
Author

@juanpablogd
I found that sometimes this feature works and sometimes it doesn't.
Works Properly
image

Now Works
image

@mckaywrigley
Copy link
Owner

If anyone fixes this make a PR and I'll merge.

We use remarkMath in the message-markdown.tsx component which I though handled it, but obviously it must not be working correctly.

@SyedMuzamilM
Copy link
Contributor

Will take a look into this. Will see if i can find the issues.

@swiftdev29
Copy link

Were u able to resolve this

@logancyang
Copy link

logancyang commented Aug 22, 2024

Anybody has a solution to this?

Some models like Claude directly return rendered equations from their backend, so it was quite misleading to me, I thought it was processed by remarkMath. It was not. Need to dig deeper.

@usoonees usoonees linked a pull request Sep 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

6 participants