OpenAI
and service_context
with nodes page_label
and file_path
, so i want to send just the context without this metadata , how i can do it?document.excluded_llm_metadata_keys = ["page_label", ...]
documents = SimpleDirectoryReader("/content/data").load_data() node_parser = SimpleNodeParser.from_defaults(chunk_size=512, chunk_overlap=20) nodes = node_parser.get_nodes_from_documents(documents)