chainlit icon indicating copy to clipboard operation
chainlit copied to clipboard

Unable to Display Locally Stored Images in Markdown with Chainlit

Open snowyday opened this issue 9 months ago • 0 comments

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!

snowyday avatar May 12 '24 12:05 snowyday