agsamantha/node_modules/langchain/dist/agents/format_scratchpad/log.d.ts
2024-10-02 15:15:21 -05:00

9 lines
413 B
TypeScript

import { AgentStep } from "@langchain/core/agents";
/**
* Construct the scratchpad that lets the agent continue its thought process.
* @param intermediateSteps
* @param observationPrefix
* @param llmPrefix
* @returns a string with the formatted observations and agent logs
*/
export declare function formatLogToString(intermediateSteps: AgentStep[], observationPrefix?: string, llmPrefix?: string): string;