-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support markdown output #6
Comments
I just added a markdown output function, but it hasn't been debugged with the OpenAI API. There is a problem with the account here. Can you download and test it on your end? |
There are only two styles of this markdown component, but none of them have a copy button. Do you have any components that are more suitable to recommend or integrate directly into it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this prompt: "write a program to calculate pi". Currently it produces something like:
Here's a simple program in Python to compute the value of pi using the Leibniz formula: ```python def compute_pi(n): pi = 0 for i in range(n): pi += ((-1)**i) / (2*i + 1) pi *= 4
But what it should really do is format that program in a markdown code block, similar to chatgpt.
The text was updated successfully, but these errors were encountered: