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

Add parsing support for json and string artifacts #40

Merged
merged 1 commit into from
May 24, 2024
Merged

Add parsing support for json and string artifacts #40

merged 1 commit into from
May 24, 2024

Conversation

jamesjwu
Copy link
Collaborator

@jamesjwu jamesjwu commented May 24, 2024

This lets us fulfill the following interface:

trace_structured(
  "artifact",
  lambda: {
    name: <name>,
    encoding: "json" | "string"
  },
  payload_fn= lambda: <output>
)

This gets logged as a json or txt artifact associated with a compile:
image

@jamesjwu jamesjwu merged commit 957663c into main May 24, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant