langsmith
Version:
Client library to connect to the LangSmith Observability and Evaluation Platform.
7 lines (6 loc) • 298 B
TypeScript
import type { BetaContentBlock } from "./types.js";
/**
* Converts SDK content blocks into serializable objects.
* Matches Python's flatten_content_blocks behavior.
*/
export declare function flattenContentBlocks(content: BetaContentBlock[] | unknown): Array<Record<string, unknown>> | unknown;