Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ import pyodbc
|
|
| 11 |
import openai
|
| 12 |
from langchain_openai import AzureChatOpenAI
|
| 13 |
|
| 14 |
-
from utils import SQLDatabaseChainPatched,
|
| 15 |
|
| 16 |
openai.api_key = os.environ['OPENAI_API_KEY']
|
| 17 |
openai.api_type = 'azure'
|
|
|
|
| 11 |
import openai
|
| 12 |
from langchain_openai import AzureChatOpenAI
|
| 13 |
|
| 14 |
+
from utils import SQLDatabaseChainPatched, table_search, extract_question_type
|
| 15 |
|
| 16 |
openai.api_key = os.environ['OPENAI_API_KEY']
|
| 17 |
openai.api_type = 'azure'
|