LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
  • RemoteGraph
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDKRemoteGraph
Language
Theme
PythonlangsmithclientClientlist_shared_examples
Method●Since v0.0

list_shared_examples

Get shared examples.

Copy
list_shared_examples(
  self,
  share_token: str,
  *,
  example_ids: Optional[list[ID_TYPE]] = None,
  limit: Optional[int] = None
) -> Iterator[ls_schemas.Example]

Parameters

NameTypeDescription
share_token*Union[UUID, str]

The share token or URL of the shared dataset.

example_idsOptional[List[UUID, str]]
Default:None

The IDs of the examples to filter by.

limitOptional[int]
Default:None

Maximum number of examples to return, by default None.

View source on GitHub