> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/chatflows/llamaindex/engine/context-chat-engine.md).

# Context Chat Engine

A chat engine serves as an end-to-end pipeline for having a human-like conversation with your data, allowing for multiple exchanges rather than a single question-and-answer interaction.

<figure><img src="/files/8hJ1WzjTqseoiCmzCEtt" alt=""><figcaption></figcaption></figure>

## Inputs

* Chat Model
* Vector Store Retriever
* [Memory](/readme/chatflows/langchain/memory.md)

## Parameters

| Name                    | Description                                                         |
| ----------------------- | ------------------------------------------------------------------- |
| Return Source Documents | To return citations/sources that were used to build up the response |
| System Message          | An instruction for LLM on how to answer query                       |

## Outputs

| Name              | Description                   |
| ----------------- | ----------------------------- |
| ContextChatEngine | Final node to return response |
