from langchain.llms import GPT4All
and chat with it directly, but it seems index = GPTVectorStoreIndex.from_documents(documents, service_context=service_context)
is specifically for OpenAI?)LLMPredictor(llm=<langchain llm>)
documents = SimpleDirectoryReader('data', recursive = True).load_data() index = GPTVectorStoreIndex.from_documents(documents, service_context=service_context) index.storage_context.persist()