agsamantha/node_modules/langchain/dist/agents/format_scratchpad/log.d.ts

10 lines
413 B
TypeScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
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;