Created
November 14, 2023 08:20
-
-
Save samirsaci/105265187d15b029d5748e2f17bdc632 to your computer and use it in GitHub Desktop.
LangChain SQL - Test 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user_input = "How many shipments were delayed in the first seven days of May?" | |
try: | |
print("Question: ", user_input) | |
result = agent_executor.run(user_input) | |
print("Result: ", result) | |
except Exception as e: | |
print(f"An error occurred: {e}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment