Invalid document type: <class 'gpt_index.readers.schema.base.Document'>.
SUMMARY_PROMPT_TMPL = (
"Context information is below. \n"
"---------------------\n"
"{context_str}"
"\n---------------------\n"
"Always answer the question in bullet points"
)
SUMMARY_PROMPT = SummaryPrompt(SUMMARY_PROMPT_TMPL)
# Build GPTTreeIndex: pass in custom prompt
index_with_query = GPTTreeIndex(documents, summary_template=SUMMARY_PROMPT)