Practical Implementation of Context Mode in ChatEngine

Practical Implementation of Context Mode in ChatEngine

Overview The ContextChatEngine class is a contextual chat engine designed to provide a smooth chat experience by retrieving contextual information from the chat and using a language model (LLM) to generate responses based on system prompts. It is a simple chat mode built on top of a data retriever. For each chat interaction: First, retrieve … Read more

LlamaIndex Practical Application – ChatEngine ReAct Agent Mode

LlamaIndex Practical Application - ChatEngine ReAct Agent Mode

Overview ReAct is an agent-based chat mode built on top of a data query engine. For each chat interaction, the agent enters a ReAct loop: First, decide whether to use the query engine tool and propose appropriate input (Optional) Use the query engine tool and observe its output Decide whether to repeat or give a … Read more