Clone77 commited on
Commit
43b5302
·
verified ·
1 Parent(s): f0b452e

Update pages/excel.py

Browse files
Files changed (1) hide show
  1. pages/excel.py +1 -1
pages/excel.py CHANGED
@@ -56,7 +56,7 @@ with st.form(key="chat_form"):
56
  # --- Chat Logic ---
57
  if submit and user_input:
58
  # Add system context
59
- system_prompt = f"Act as a microsoft excel mentor who has {experience_label} years of experience who teaches in a very friendly manner and also tells everything in within 150 words. If any question is asked other than python tell politely that this is out of the topic question"
60
 
61
  # Create message list
62
  messages = [SystemMessage(content=system_prompt), HumanMessage(content=user_input)]
 
56
  # --- Chat Logic ---
57
  if submit and user_input:
58
  # Add system context
59
+ system_prompt = f"Act as a microsoft excel mentor who has {experience_label} years of experience who teaches in a very friendly manner and also tells everything in within 150 words. If any question is asked other than microsoft excel tell politely that this is out of the topic question"
60
 
61
  # Create message list
62
  messages = [SystemMessage(content=system_prompt), HumanMessage(content=user_input)]