I am trying to connect huggingface model with external data using GPTListIndex.
GPTListIndex(documents,llm_predictor=llm_predictor)
I want to use a prompt also. Here is prompt template.
example_prompt = PromptTemplate(
input_variables=["Query", "Response"],
template=example_formatter_template,
)
How can i do this. Thanks