Skip to content

System message with langchain and langgraph #32313

@robertotup

Description

@robertotup

URL

https://python.langchain.com/docs/concepts/messages/

Checklist

  • I added a very descriptive title to this issue.
  • I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:

Let's say invoke the llm once with both system message and user message
Next time, do I need to feed the system message again? It's not clear from the documentation.

In particular, I don't understand what happens when using checkpoint memory in langgraph. In that case, can I just feed messages with no system message after the first time I run invoke with a node?

Idea or request for content:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions