You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current setup is a bit different from what is shown in tutorials and I am not sure how to adapt to make it work. I'd like to pass down a config object that holds the tenant_id included in the user_auth_token.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My current setup is a bit different from what is shown in tutorials and I am not sure how to adapt to make it work. I'd like to pass down a config object that holds the tenant_id included in the user_auth_token.
The "main chain" is an agentic conversational chain:
One of the tools that requires this dynamic config object:
how can I pass the dynamic config of
{"k": 6, "filter": {"tenant_id": {"$eq": user.id}}}
to this DocumentsRetriever class, overriding the currently used search_kwargs. Any input is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions