I’m using a Chat block with RAG enabled. The debugger shows RAG is retrieving the correct results in line 7, but line 8 always shows ‘Sending resolved message: undefined’ regardless of what I put in the template field. I’ve tried {{rag_results}}, {{preprocessed_message}}, {{user_message}}, and leaving the field blank. All return undefined. What is the correct variable name for the Chat block RAG template field?
A post was merged into an existing topic: The Chat block’s RAG template field isn’t passing either the user’s message or the retrieved knowledge base results to the AI