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

fix(js): remove default created_at from createExample method. #1406

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tendev-liam
Copy link
Contributor

Fixes issue: #1399

Issue:
Examples created from the createExample method of the JS client are created with 3 digits of fractional seconds.

How Issue Presents:
The endpoint to get dataset versions (https://api.smith.langchain.com/api/v1/datasets/{dataset_id}/version) always responds with 6 digits of fractional seconds.
When filtering expirements by dataset ID the langsmith frontend will use one of the resuls from the get dataset verions i.e the timestamp with 6 digits.
When a expirement is being tagged with a dataset version it will use the modified_at key of an example which if created from the JS client will only contain 3 digits of precison.

Fix:
Hand over the creation of the createExample created_at timestamp to langsmith server.

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