# define prompt helper # set maximum input size max_input_size = 8000 num_output = 500 max_chunk_overlap=50 prompt_helper = PromptHelper(max_input_size, num_output, max_chunk_overlap)
return GPTSimpleVectorIndex( documents, llm_predictor=llm_predictor, prompt_helper=prompt_helper )