Function createTaggingChainFromZod

  • Function that creates a tagging chain from a Zod schema. It converts the Zod schema to a JSON schema using the zodToJsonSchema function and then calls createTaggingChain with the converted schema.

    Parameters

    Returns LLMChain<object, BaseChatModel<BaseFunctionCallOptions>>

    A new instance of LLMChain configured for tagging.

Generated using TypeDoc