LangChain · Class
LLMToolEmulator
LLMToolEmulator is middleware for testing and prototyping agents. It uses an LLM to simulate tool results instead of running the real tools.
Last updated
- Since
- v1.4
Syntax
LLMToolEmulator(self, *, tools: list[str | BaseTool] | None = None, model: str | BaseChatModel | None = None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
AgentMiddlewareBaseToolBaseChatModelcreate_agentinit_chat_model