UNPKG

@hyperbrowser/agent

Version:

Hyperbrowsers Web Agent

8 lines (7 loc) 388 B
import { BaseChatModel } from "@langchain/core/language_models/chat_models"; /** * Determines the appropriate structured output method based on the LLM type * @param llm The language model instance * @returns The structured output method to use ("functionCalling" or "jsonMode") */ export declare function getStructuredOutputMethod(llm: BaseChatModel): "functionCalling" | undefined;