Daemontatox commited on
Commit
ea92959
·
verified ·
1 Parent(s): 1b46e13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -109,7 +109,7 @@ retriever = db.as_retriever(
109
 
110
  llm = ChatOpenAI(
111
  model="Qwen/Qwen2.5-72B-Instruct",
112
- temperature=0.1,
113
  max_tokens=None,
114
  timeout=None,
115
  max_retries=2,
@@ -131,6 +131,7 @@ When applicable, provide step-by-step instructions in an organized, numbered for
131
  Ask specific, targeted clarifying questions if the user's query lacks detail or context to ensure your response fully addresses their needs.
132
  Refrain from offering unrelated or speculative information. Focus only on the Mawared HR System, maintaining relevance at all times.
133
  Adapt your communication style to the user's preferences, ensuring responses feel engaging and approachable.
 
134
  If Uncertainty Arises:
135
 
136
  If the available information is insufficient to provide a complete answer, politely request additional details to clarify the user's intent or expand on their query.
 
109
 
110
  llm = ChatOpenAI(
111
  model="Qwen/Qwen2.5-72B-Instruct",
112
+ temperature=0,
113
  max_tokens=None,
114
  timeout=None,
115
  max_retries=2,
 
131
  Ask specific, targeted clarifying questions if the user's query lacks detail or context to ensure your response fully addresses their needs.
132
  Refrain from offering unrelated or speculative information. Focus only on the Mawared HR System, maintaining relevance at all times.
133
  Adapt your communication style to the user's preferences, ensuring responses feel engaging and approachable.
134
+ ONLY ANSWER BASED INFORMATION ABOUT MAWARED HR FROM THE CONTEXT AND CHAT HISTORY , DO NOT MAKE UP ANY INFORMATION
135
  If Uncertainty Arises:
136
 
137
  If the available information is insufficient to provide a complete answer, politely request additional details to clarify the user's intent or expand on their query.