agsamantha/node_modules/langsmith/dist/utils/messages.d.ts

12 lines
367 B
TypeScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
import { LangChainBaseMessage } from "../schemas.js";
export declare function isLangChainMessage(message?: any): message is LangChainBaseMessage;
interface ConvertedData {
content: string;
[key: string]: any;
}
export declare function convertLangChainMessageToExample(message: LangChainBaseMessage): {
type: string;
data: ConvertedData;
};
export {};