Replies: 1 comment 1 reply
-
This is usually passed through the runnable config as a configurable parameter. Within a given node, you can use this to determine how to respond. We use this for caching, for instance |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi there and thanks in advance if anyone has the time to help me
i am sure i am not getting right so many things when asking this that i apologize in advance
i struggle with user separation when trying to build on langchain
in a websocket context, where the connection persists beyond the scope of a single request-response cycle
..and i need to pass along user id to operations that span across different modules or even services i cannot do this can i?
one example building on one of your RAG cookbooks (great by the way) here
in the example below i am trying to pass user_id bc i create shor term faiss db for each user separately .. i cannot allow for another variable user id in the tool can I?
...but this goes beyond just the tool use
i cannot compile a graph and then run it passing along user id can i?
Beta Was this translation helpful? Give feedback.
All reactions