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

When writing JSON output of an eval, include the timestamp of the run #778

Closed
efung opened this issue May 14, 2024 · 2 comments
Closed

When writing JSON output of an eval, include the timestamp of the run #778

efung opened this issue May 14, 2024 · 2 comments

Comments

@efung
Copy link
Contributor

efung commented May 14, 2024

In the SQLite database of promptfoo, I can see that evals have a createdat timestamp, and this is visible in the Web UI as well.

However, when running via the CLI using something like npx promptfoo eval --output eval_output.json, the JSON file does not contain a timestamp anywhere.

It would be nice if a timestamp could be included somewhere in the output dictionary.

@typpo
Copy link
Collaborator

typpo commented May 16, 2024

Done in #785 !

@typpo
Copy link
Collaborator

typpo commented May 18, 2024

Released in 0.59.0

@typpo typpo closed this as completed May 18, 2024
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

No branches or pull requests

2 participants