0

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

Talha Anwar
  • 2,699
  • 4
  • 23
  • 62

0 Answers0