Spaces:
Sleeping
Sleeping
Nolan Zandi commited on
Commit ·
8d7dccc
1
Parent(s): a0b8cd8
remove pipeline functions from chat
Browse files36 unmodified lines3738394041424344454636 unmodified linesdef chatbot_with_fc(message, history, session_hash):from functions import sqlite_query_func, chart_generation_func, table_generation_funcfrom pipelines import sql_query_pipeline_funcimport toolsavailable_functions = {"sql_query_func": sqlite_query_func, "sql_query_pipeline_func": sql_query_pipeline_func, "chart_generation_func": chart_generation_func, "table_generation_func":table_generation_func }if message_dict[session_hash] != None:message_dict[session_hash].append(ChatMessage.from_user(message))36 unmodified lines37383940414243444536 unmodified linesdef chatbot_with_fc(message, history, session_hash):from functions import sqlite_query_func, chart_generation_func, table_generation_funcimport toolsavailable_functions = {"sql_query_func": sqlite_query_func, "chart_generation_func": chart_generation_func, "table_generation_func":table_generation_func }if message_dict[session_hash] != None:message_dict[session_hash].append(ChatMessage.from_user(message))
functions/chat_functions.py+1-2