I am looking to upgrade from Llamaindex 0.7.6 to 0.7.13 and having a problem with the AI response from gpt-3.5-turbo-16k. I include a custom chat history interaction and a custom prompt that instructs the engine to only answer questions relevant to the index. When updating to 0.7.13 my custom instructions are largely ignored and the AI will answer questions not included in the index. This does not happen with 0.7.6.
chat_engine = index.as_chat_engine(
chat_mode='react',
chat_history=custom_chat_history,
similarity_top_k=max_top_k,
refine_template=DEFAULT_REFINE_PROMPT,
text_qa_template=custom_prompt)
If anyone has some hints to hunt down why this happens it will be greatly appreciated.