langsmith
Version:
Client library to connect to the LangSmith Observability and Evaluation Platform.
52 lines (51 loc) • 1.39 kB
TypeScript
import { APIResource } from '../core/resource.js';
import { APIPromise } from '../core/api-promise.js';
import { RequestOptions } from '../internal/request-options.js';
export declare class Info extends APIResource {
/**
* Get information about the current deployment of LangSmith.
*/
list(options?: RequestOptions): APIPromise<InfoListResponse>;
}
/**
* The LangSmith server info.
*/
export interface InfoListResponse {
version: string;
/**
* Batch ingest config.
*/
batch_ingest_config?: InfoListResponse.BatchIngestConfig;
/**
* Customer info.
*/
customer_info?: InfoListResponse.CustomerInfo | null;
git_sha?: string | null;
instance_flags?: {
[key: string]: unknown;
};
license_expiration_time?: string | null;
}
export declare namespace InfoListResponse {
/**
* Batch ingest config.
*/
interface BatchIngestConfig {
scale_down_nempty_trigger?: number;
scale_up_nthreads_limit?: number;
scale_up_qsize_trigger?: number;
size_limit?: number;
size_limit_bytes?: number;
use_multipart_endpoint?: boolean;
}
/**
* Customer info.
*/
interface CustomerInfo {
customer_id: string;
customer_name: string;
}
}
export declare namespace Info {
export { type InfoListResponse as InfoListResponse };
}