We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi ,
I am using Langchain and need to pass a chat_history from prompt to subchain1 .
guardrails = RunnableRails(config)
chain = prompt | guardrails | subchain1
chain_with_history = RunnableWithMessageHistory(chain, get_session_history, input_messages_key='user', history_messages_key='history', output_messages_key="output",)
response = chain_with_history.invoke( {'user': user_message}, config=config, )
How it's possible in guardrials ?
I can't find it at here
The text was updated successfully, but these errors were encountered:
Pouyanpi
No branches or pull requests
Hi ,
I am using Langchain and need to pass a chat_history from prompt to subchain1 .
guardrails = RunnableRails(config)
chain = prompt | guardrails | subchain1
chain_with_history = RunnableWithMessageHistory(chain,
get_session_history,
input_messages_key='user',
history_messages_key='history',
output_messages_key="output",)
response = chain_with_history.invoke(
{'user': user_message},
config=config,
)
How it's possible in guardrials ?
I can't find it at here
The text was updated successfully, but these errors were encountered: