Correct way to implement moderation #1030
Answered
by
hinthornw
darthShana
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
hinthornw
Jul 16, 2024
Replies: 1 comment 1 reply
-
So then Assuming
You'll want to make sure the message id's are aligned so it isn't inserted after the initial response. Example here: https://langchain-ai.github.io/langgraph/tutorials/introduction/?h=add+mess#part-5-manually-updating-the-state |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
darthShana
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So then
moderate
returns a new Human Message?Assuming
moderate
looks something like:You'll want to make sure the message id's are aligned so it isn't inserted after the initial response. Example here: https://langchain-ai.github.io/langgraph/tutorials/introduction/?h=add+mess#part-5-manually-updating-the-state