Check out this article to learn more about the different types of conversational memory: LangChain Conversational Memory Series on Pinecone
We set the temperature to zero as zero temperature is good to get factual answers from models due to their low variability, highest fidelity and reliable answers.