agsamantha/node_modules/langchain/dist/agents/load.d.ts

9 lines
354 B
TypeScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
import type { BaseLanguageModelInterface } from "@langchain/core/language_models/base";
import type { ToolInterface } from "@langchain/core/tools";
import { Agent } from "./agent.js";
/** @deprecated */
export declare const loadAgent: (uri: string, llmAndTools?: {
llm?: BaseLanguageModelInterface;
tools?: ToolInterface[];
}) => Promise<Agent>;