one more question, if you have any thoughts. I've considered just skipping the agent altogether and using just the index to run the chat.
it involves changing the QA prompt to look like this
QA_PROMPT_TMPL = (
"You are a helpful AI chatbot named 'AI'. Your job is answer questions from the 'User', based on the provided context information.\n"
"We have provided context information below. \n"
"---------------------\n"
"{context_str}"
"\n---------------------\n"
"Given this context information, you will be completing the following chat. Make sure to use information from the chat to respond:\n"
f"{chat_history_str}"
"User: {query_str}\n"
"AI: "
)
QA_PROMPT = QuestionAnswerPrompt(QA_PROMPT_TMPL)
In your opinion do you see any potential issues with this?