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

Inline KaTeX Rendering #460

Closed
humphd opened this issue Feb 16, 2024 · 1 comment · Fixed by #482
Closed

Inline KaTeX Rendering #460

humphd opened this issue Feb 16, 2024 · 1 comment · Fixed by #482
Assignees
Milestone

Comments

@humphd
Copy link
Collaborator

humphd commented Feb 16, 2024

This message renders partially correct, but the inline bits in the first sentence don't work. I wonder if we could update our default prompt so they do?

To convert bytes to megabytes (MB), you can divide the number of bytes by \(2^{20}\) (since 1 MB is \(2^{20}\) bytes or 1,048,576 bytes).

Given the number of bytes as 20,971,520:

$$\frac{20,971,520 \text{ bytes}}{2^{20}} = \frac{20,971,520}{1,048,576} = 20 \text{ MB}$$

So, 20,971,520 bytes is equal to 20 MB.
Screenshot 2024-02-15 at 9 44 55 PM
@rjwignar rjwignar self-assigned this Feb 18, 2024
@rjwignar
Copy link
Collaborator

@humphd is the output provided generated by the LLM?
If so, what initial message did you provide?
I have a fix in mind, but I'm not sure how to reliably coach ChatCraft into giving me in-line KaTeX

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.

2 participants