Experimental wrapper over Anthropic chat models that adds support for a function calling interface.

Hierarchy

Constructors

Properties

llm: BaseChatModel
systemPromptTemplate: BasePromptTemplate
stopSequences?: string[]

Methods

  • Type Parameters

    • RunOutput extends Record<string, any> = Record<string, any>

    Parameters

    • outputSchema: any
    • Optional config: any

    Returns Runnable<BaseLanguageModelInput, RunOutput>

  • Type Parameters

    • RunOutput extends Record<string, any> = Record<string, any>

    Parameters

    • outputSchema: any
    • Optional config: any

    Returns Runnable<BaseLanguageModelInput, {
        parsed: RunOutput;
        raw: BaseMessage;
    }>

Generated using TypeDoc