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

feat(js): add readExamplesWithRuns method for fetching examples w/ runs #1410

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make required param part of function signature
  • Loading branch information
tendev-eoghan committed Jan 20, 2025
commit 4f41da7f6970d224303cc25f7910d312d7a8845d
3 changes: 1 addition & 2 deletions js/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2802,15 +2802,14 @@ export class Client implements LangSmithTracingClientInterface {
*/
public async *readExamplesWithRuns(
datasetId: string,
sessionIds: string[],
{
sessionIds,
comparativeExperimentId,
filters,
preview = false,
offset = 0,
limit = 20,
}: {
sessionIds: string[];
comparativeExperimentId?: string;
filters?: KVMap;
preview?: boolean;
Expand Down