Function that creates an extraction chain using the provided JSON schema. It sets up the necessary components, such as the prompt, output parser, and tags.
JSON schema of the function parameters.
Must be a ChatOpenAI or AnthropicFunctions model that supports function calling.
A LLMChain instance configured to return data matching the schema.
Generated using TypeDoc
Function that creates an extraction chain using the provided JSON schema. It sets up the necessary components, such as the prompt, output parser, and tags.