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

    • __namedParameters: StructuredOutputMethodParams<RunOutput, false>

    Returns Runnable<BaseLanguageModelInput, RunOutput>

  • Type Parameters

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

    Parameters

    • __namedParameters: StructuredOutputMethodParams<RunOutput, true>

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

Generated using TypeDoc