Skip to content

Home > llm-ops > TypeScriptChain > exportHistory

TypeScriptChain.exportHistory() method

Signature:

typescript
exportHistory(): import("openai/resources/chat").ChatCompletionMessageParam[];
exportHistory(): import("openai/resources/chat").ChatCompletionMessageParam[];

Returns:

import("openai/resources/chat").ChatCompletionMessageParam[]

Released under the MIT License.