diff --git a/apps/docs/docs/modules/documents_and_nodes/metadata_extraction.md b/apps/docs/docs/modules/documents_and_nodes/metadata_extraction.md index 3782c2f6e7554132677ea1d0505bde722d1bcece..754b5ae3e66b6d96d0b81a363a426c66c3ed207a 100644 --- a/apps/docs/docs/modules/documents_and_nodes/metadata_extraction.md +++ b/apps/docs/docs/modules/documents_and_nodes/metadata_extraction.md @@ -21,12 +21,12 @@ import { } from "llamaindex"; async function main() { - const openAILLM = new OpenAI({ model: "gpt-3.5-turbo" }); - const pipeline = new IngestionPipeline({ transformations: [ - new TitleExtractor(openAILLM), - new QuestionsAnsweredExtractor(openAILLM), + new TitleExtractor(), + new QuestionsAnsweredExtractor({ + questions: 5, + }), ], });