The community member is asking how to set the language model (llm) or ServiceContext when using the UnstructuredElementNodeParser. They mention that calling the node_parser.get_nodes_from_documents method appears to use the OpenAI llm, but they want to use a different llm that is already defined in their service context.
In the comments, another community member suggests using UnstructuredElementNodeParser(llm=llm) to set the llm, but there is no explicitly marked answer.
How do you set the llm or ServiceContext when using UnstructuredElementNodeParser? Calling node_parser.get_nodes_from_documents method appears to try using OpenAI llm but I want to use something else thats already defined in my service context.