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

Unable to Display Locally Stored Images in Markdown with Chainlit #985

Open
snowyday opened this issue May 12, 2024 · 0 comments
Open

Unable to Display Locally Stored Images in Markdown with Chainlit #985

snowyday opened this issue May 12, 2024 · 0 comments

Comments

@snowyday
Copy link

I am experiencing an issue where locally stored images are not displayed in Markdown when using the chainlit.md (#955), message, and Step classes in Chainlit. Below is a detailed description of the problem:

Problem Description:
In Chainlit, Markdown syntax does not seem to support displaying images stored locally. Here are my observations:

Works: [image](https://xxx.com/image.png)
Doesn't Work: [image](./image.png)

Expected Behavior:
It would be extremely beneficial if Chainlit could support the display of images from local storage. This enhancement would resolve issue #707 and improve functionality for managing local content.

Question:
Could you provide guidance or suggest a workaround on how to enable the loading of local images in Chainlit?

Thank you for your assistance!

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

No branches or pull requests

2 participants
@snowyday and others