chain.invoke({"question":user_input},config={"configurable": {"session_id": SESSIONID}})
curl --no-buffer -X 'POST' 'http://0.0.0.0:8000/chainroute/invoke' -H 'accept: text/plain' -H 'Content-Type: application/json' -d '{"input":{"question": "....", "session_id": "1234567890" }}'
curl --no-buffer -X 'POST' 'http://0.0.0.0:8000/chainroute/invoke' -H 'accept: text/plain' -H 'Content-Type: application/json' -d '{"input":{"question": "....",{"configurable":{"session_id":"1234567890"}}}}'
curl --no-buffer -X 'POST' 'http://0.0.0.0:8000/chainroute/stream' -H 'accept: text/plain' -H 'Content-Type: application/json' -d '{"input":{"question":"...."},"config":{"configurable":{"session_id":"1234567890"}}}'
chat = RemoteRunnable("http://0.0.0.0:8000/chainroute") chat.invoke({"question":"......"},config={"configurable": {"session_id": 1234567890}})