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

Issue: 500 Internal Server Error when trying to set custom exampleIds when calling createExamples() #1319

Open
willemmulder opened this issue Dec 10, 2024 · 0 comments

Comments

@willemmulder
Copy link

Issue you'd like to raise.

I'm using the latest Typescript SDK (v0.2.11) and try to create examples like this

await client.createExamples({
      exampleIds: includedRecordsForDataset.map(record => "Example " + record.id),
      inputs,
      outputs,
      metadata,
      datasetId: langsmithDataset.id
  });

Whenever I use the exampleIds property, I get a 500 Internal Server Error. If I leave it out (i.e. let Langsmith decide on the id) everything works fine. Took me a while to figure out, and quite annoying. Can this be fixed? And can an example be added to the documentation?

Suggestion:

No response

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

1 participant