ModelChoice.GPT35: {"model_name": "gpt-3.5-turbo", "chunk_size": 1024},
predictor = LLMPredictor(llm=ChatOpenAI(temperature=0.01, model_name=model_settings["model_name"]))
retriever = TreeSelectLeafRetriever(index=self.index, child_branch_factor=self.tree_child_branch_factor)
reader = SimpleDirectoryReader(input_dir=self.input_dir) documents = reader.load_data() index = TreeIndex.from_documents(documents, service_context=service_context)