This file contains hidden or 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
| from dotenv import load_dotenv | |
| from langchain.llms import OpenAI | |
| from langchain import SQLDatabase | |
| from langchain_experimental.sql import SQLDatabaseChain | |
| # Load environment variables from the .env file | |
| load_dotenv() | |
| # Connection parameters | |
| server = '***' |
NewerOlder