---
title: Chat Engines | LlamaIndex OSS Documentation
---

##### FAQ

1. [How to make bot retain context while answering, Can I do that with LlamaIndex?](#1-how-to-make-bot-retain-context-while-answering-can-i-do-that-with-llamaindex)
2. [How to use Data Agent with Chat engine?](#2-how-to-use-data-agent-with-chat-engine)

---

##### 1. How to make bot retain context while answering, Can I do that with LlamaIndex?

Yes you can, Llamaindex provides chat engines that you can use to retain context and answer as per the context. You can find more here [Chat Engines](/python/framework/module_guides/deploying/chat_engines/index.md).

---

##### 2. How to use Data Agent with Chat engine?

To use data Agents with Chat engine you have to set the chat mode while initializing the chat engine. Find more here [Data Agents with Chat Engine](/python/framework/module_guides/deploying/chat_engines/usage_pattern#available-chat-modes/index.md)
