Spaces:
Sleeping
Sleeping
Update excel_chat.py
Browse files- excel_chat.py +2 -2
excel_chat.py
CHANGED
@@ -8,7 +8,7 @@ from groq import Groq
|
|
8 |
import anthropic
|
9 |
#from users_management import update_json#, users
|
10 |
|
11 |
-
users = ['maksG', 'Alma', 'YchK']
|
12 |
|
13 |
def ask_llm(query, input, client_index):
|
14 |
messages = [
|
@@ -71,7 +71,7 @@ def filter_df(df, column_name, keywords):
|
|
71 |
filtered_df = df
|
72 |
return filtered_df
|
73 |
|
74 |
-
def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col, keywords, client
|
75 |
#update_json(user, prompt, keywords)
|
76 |
print(f'xlsxfile = {excel_file}')
|
77 |
df = pd.read_excel(excel_file)
|
|
|
8 |
import anthropic
|
9 |
#from users_management import update_json#, users
|
10 |
|
11 |
+
#users = ['maksG', 'Alma', 'YchK']
|
12 |
|
13 |
def ask_llm(query, input, client_index):
|
14 |
messages = [
|
|
|
71 |
filtered_df = df
|
72 |
return filtered_df
|
73 |
|
74 |
+
def chat_with_mistral(source_cols, dest_col, prompt, excel_file, url, search_col, keywords, client)#, user):
|
75 |
#update_json(user, prompt, keywords)
|
76 |
print(f'xlsxfile = {excel_file}')
|
77 |
df = pd.read_excel(excel_file)
|