Nolan Zandi commited on
Commit ·
8d7dccc
1
Parent(s): a0b8cd8
remove pipeline functions from chat
Browse files
functions/chat_functions.py
CHANGED
|
@@ -37,10 +37,9 @@ def example_question_generator(session_hash):
|
|
| 37 |
|
| 38 |
def chatbot_with_fc(message, history, session_hash):
|
| 39 |
from functions import sqlite_query_func, chart_generation_func, table_generation_func
|
| 40 |
-
from pipelines import sql_query_pipeline_func
|
| 41 |
import tools
|
| 42 |
|
| 43 |
-
available_functions = {"sql_query_func": sqlite_query_func, "
|
| 44 |
|
| 45 |
if message_dict[session_hash] != None:
|
| 46 |
message_dict[session_hash].append(ChatMessage.from_user(message))
|
|
|
|
| 37 |
|
| 38 |
def chatbot_with_fc(message, history, session_hash):
|
| 39 |
from functions import sqlite_query_func, chart_generation_func, table_generation_func
|
|
|
|
| 40 |
import tools
|
| 41 |
|
| 42 |
+
available_functions = {"sql_query_func": sqlite_query_func, "chart_generation_func": chart_generation_func, "table_generation_func":table_generation_func }
|
| 43 |
|
| 44 |
if message_dict[session_hash] != None:
|
| 45 |
message_dict[session_hash].append(ChatMessage.from_user(message))
|