Skip to content

Commit

Permalink
Add inline_s3_urls query param to make multimodal evals work (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
samnoyes authored Nov 16, 2023
1 parent 18449e5 commit 31ca38b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,7 @@ def list_examples(
dataset_id: Optional[ID_TYPE] = None,
dataset_name: Optional[str] = None,
example_ids: Optional[List[ID_TYPE]] = None,
inline_s3_urls: bool = True,
) -> Iterator[ls_schemas.Example]:
"""Retrieve the example rows of the specified dataset.
Expand Down Expand Up @@ -1741,6 +1742,7 @@ def list_examples(
pass
if example_ids is not None:
params["id"] = example_ids
params["inline_s3_urls"] = inline_s3_urls
yield from (
ls_schemas.Example(**example)
for example in self._get_paginated_list("/examples", params=params)
Expand Down

0 comments on commit 31ca38b

Please sign in to comment.