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

8 lines
354 B
TypeScript

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>;