langchain.chains.openai_functions.tagging.create_tagging_chain

langchain.chains.openai_functions.tagging.create_tagging_chain(schema: dict, llm: BaseLanguageModel, prompt: Optional[ChatPromptTemplate] = None, **kwargs: Any) Chain[source]
Create a chain that extracts information from a passage

based on a schema.

Parameters
Returns

Chain (LLMChain) that can be used to extract information from a passage.

Return type

Chain

Examples using create_tagging_chain