LlamaIndex.TS: memory for a llamaindex chat engine. getSystemPrompt returns the governed
context to pass as the leading system message of the turn's history
(chatEngine.chat({ message, chatHistory: [{ role: "system", content }] }); chat() has no
systemPrompt parameter), and saveTurn persists the completed exchange. Structural, so
llamaindex stays an optional peer dependency.
LlamaIndex.TS: memory for a
llamaindexchat engine.getSystemPromptreturns the governed context to pass as the leading system message of the turn's history (chatEngine.chat({ message, chatHistory: [{ role: "system", content }] });chat()has nosystemPromptparameter), andsaveTurnpersists the completed exchange. Structural, sollamaindexstays an optional peer dependency.