BatchIngestConfig#

class langsmith.schemas.BatchIngestConfig[source]#

Configuration for batch ingestion.

use_multipart_endpoint: bool#

Whether to use the multipart endpoint for batch ingestion.

scale_up_qsize_trigger: int#

The queue size threshold that triggers scaling up.

scale_up_nthreads_limit: int#

The maximum number of threads to scale up to.

scale_down_nempty_trigger: int#

The number of empty threads that triggers scaling down.

size_limit: int#

The maximum size limit for the batch.

size_limit_bytes: int | None#

The maximum size limit in bytes for the batch.