UNPKG

langsmith

Version:

Client library to connect to the LangSmith Observability and Evaluation Platform.

33 lines (32 loc) 1.28 kB
import type { GCSMountSpec, GitMountRefSpec, GitMountSpec, MountCacheConfig, S3MountSpec, SandboxMount, SandboxMountAuth, SandboxMountConfig, SandboxProxyConfig } from "./types.js"; export declare function s3Mount({ id, mountPath, bucket, region, prefix, endpointUrl, pathStyle, readOnly, cache, }: { id: string; mountPath: string; bucket: string; region?: string; prefix?: string; endpointUrl?: string; pathStyle?: boolean; readOnly?: boolean; cache?: MountCacheConfig; }): S3MountSpec; export declare function gitMount({ id, mountPath, remoteUrl, ref, refreshIntervalSeconds, }: { id: string; mountPath: string; remoteUrl: string; ref?: GitMountRefSpec; refreshIntervalSeconds?: number; }): GitMountSpec; export declare function gcsMount({ id, mountPath, bucket, prefix, readOnly, cache, }: { id: string; mountPath: string; bucket: string; prefix?: string; readOnly?: boolean; cache?: MountCacheConfig; }): GCSMountSpec; export declare function mountConfig({ auth, mounts, }: { auth?: SandboxMountAuth[]; mounts: SandboxMount[]; }): SandboxMountConfig; export declare function validateMountConfigProxyConfig(mountConfig: SandboxMountConfig, proxyConfig: SandboxProxyConfig | undefined): void;