The goal of this approach is to answer questions with a datasource. The referenced example runs a vector database query to build the context and then runs a prompt to ask the question.
Answer the following question using only the context below. Say 'no answer' when the question can't be answered.
Question: {question}
Context: {context}
Not sure this prompt works for all scenarios and models. But it can easily be changed and is a starting point.