response = index.query(question, response_mode="compact",)
index = GPTSimpleVectorIndex.load_from_disk(self.get_index_file_path()) response = index.query(question, response_mode="compact") return response.response
index = GPTPineconeIndex( documents, pinecone_index=pinecone_index, llm_predictor=llm_predictor, prompt_helper=prompt_helper, metadata_filters=metadata_filters )
[]
instead of documents