Leon Kozlowski

    Leon Kozlowski

    1 year ago
    Does anyone have an example of rendering a matplotlib graph with the artifacts api?
    Kevin Kho

    Kevin Kho

    1 year ago
    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.
    Leon Kozlowski

    Leon Kozlowski

    1 year ago
    Ok don’t need to see example, that seems simple enough, the agent needs s3 read premission?
    Kevin Kho

    Kevin Kho

    1 year ago
    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.