Export sends a batch of operations to LangSmith.
func (
e *Exporter) Export(ctx context.Context,
endpoint models.WriteEndpoint,
ops []*models.SerializedOp
) errorExport sends a batch of operations to LangSmith. It tries the multipart endpoint first; on a 404 it falls back to the JSON batch endpoint and disables multipart for all subsequent calls.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
endpoint* | models.WriteEndpoint | |
ops* | []*models.SerializedOp |