langsmith
Version:
Client library to connect to the LangSmith Observability and Evaluation Platform.
12 lines (11 loc) • 438 B
TypeScript
import type { FinalRequestOptions } from './request-options.js';
import { type Langsmith } from '../client.js';
export type APIResponseProps = {
response: Response;
options: FinalRequestOptions;
controller: AbortController;
requestLogID: string;
retryOfRequestLogID: string | undefined;
startTime: number;
};
export declare function defaultParseResponse<T>(client: Langsmith, props: APIResponseProps): Promise<T>;