Skip to main content
session_id ties multiple pipeline runs together for tracing and analytics, but it does NOT give LLM nodes conversational memory. Pipeline LLM nodes only see the current prompt — they don’t look up prior messages from the session. For conversational context with pipelines, accumulate history client-side and pass it as part of the prompt input on each run. (Alternatively, use a Chatbot, which manages history via conversation_id.)
Source: examples/pipelines/session_and_overrides.py in the SDK repo.