mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 20:46:45 +00:00
@@ -11,7 +11,7 @@ if __name__ == "__main__":
|
||||
"\n\n1. John Travolta\n2. John McDonough",
|
||||
)
|
||||
]
|
||||
print(agent_executor.invoke({"input": original_query})) # noqa: T201
|
||||
print( # noqa: T201
|
||||
print(agent_executor.invoke({"input": original_query}))
|
||||
print(
|
||||
agent_executor.invoke({"input": followup_query, "chat_history": chat_history})
|
||||
)
|
||||
|
@@ -34,7 +34,7 @@ def store_movie_rating(movie: str, rating: int):
|
||||
try:
|
||||
return response[0]["response"]
|
||||
except Exception as e:
|
||||
print(e) # noqa: T201
|
||||
print(e)
|
||||
return "Something went wrong"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user