Does anyone have an example of rendering a matplot...
# ask-community
l
Does anyone have an example of rendering a matplotlib graph with the artifacts api?
k
Hey @Leon Kozlowski, I do if you want to see, but it’s basically writing out the file to an S3 bucket with appropriate permissions and then linking to it in the Markdown artifact.
l
Ok don’t need to see example, that seems simple enough, the agent needs s3 read premission?
k
The agent would need write permissions to the bucket to upload the image. And then the image needs to be public to be viewed in the markdown.
👍 1