text: "rating": {            "type": "integer",            "description": "The number of stars the critic rated the movie",        },    },    "required": ["movie_title", "critic", "tone"],}# Must be an OpenAI model that supports functionsllm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-0613")document_transformer = create_metadata_tagger(metadata_schema=schema, llm=llm)You can then simply pass the document transformer a list of documents, and it will extract metadata from the contents:original_documents = [    Document(        page_content="Review of The Bee Movie\nBy Roger Ebert\n\nThis is the greatest movie ever made. 4 out of 5 stars."    ),    Document(        page_content="Review of The Godfather\nBy Anonymous\n\nThis movie was super boring. 1 out of 5 stars.",        metadata={"reliable": False},    ),]enhanced_documents = document_transformer.transform_documents(original_documents)import jsonprint(    *[d.page_content + "\n\n" + json.dumps(d.metadata) for d in enhanced_documents],    sep="\n\n---------------\n\n")    Review of The Bee Movie    By Roger Ebert        This is the greatest movie ever made. 4 out of 5 stars.        {"movie_title": "The Bee Movie", "critic": "Roger Ebert", "tone": "positive", "rating": 4}