mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 21:12:48 +00:00
@@ -4,13 +4,13 @@ if __name__ == "__main__":
|
||||
user_id = "user_id_1"
|
||||
session_id = "session_id_1"
|
||||
original_query = "What is the plot of the Dune?"
|
||||
print( # noqa: T201
|
||||
print(
|
||||
chain.invoke(
|
||||
{"question": original_query, "user_id": user_id, "session_id": session_id}
|
||||
)
|
||||
)
|
||||
follow_up_query = "Tell me more about Leto"
|
||||
print( # noqa: T201
|
||||
print(
|
||||
chain.invoke(
|
||||
{"question": follow_up_query, "user_id": user_id, "session_id": session_id}
|
||||
)
|
||||
|
Reference in New Issue
Block a user