Daemontatox commited on
Commit
ec4de51
·
verified ·
1 Parent(s): bbc8b34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -4
app.py CHANGED
@@ -121,7 +121,7 @@ retriever = db.as_retriever(
121
  )
122
 
123
  llm = ChatOpenAI(
124
- model="Qwen/Qwen2.5-72B-Instruct",
125
  temperature=0,
126
  max_tokens=None,
127
  timeout=None,
@@ -266,9 +266,23 @@ def clear_chat():
266
  # Gradio Interface
267
  with gr.Blocks(theme='Hev832/Applio') as iface:
268
  gr.Image("Image.jpg", width=750, height=300, show_label=False, show_download_button=False)
269
- gr.Markdown("# Mawared HR Assistant 2.7")
270
- gr.Markdown('### Instructions')
271
- gr.Markdown("Ask a question about MawaredHR and get a detailed answer, if you get an error try again with same prompt, its an API issue, and we are working on it.")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
 
273
  chatbot = gr.Chatbot(
274
  height=750,
 
121
  )
122
 
123
  llm = ChatOpenAI(
124
+ model="meta-llama/Llama-3.3-70B-Instruct",
125
  temperature=0,
126
  max_tokens=None,
127
  timeout=None,
 
266
  # Gradio Interface
267
  with gr.Blocks(theme='Hev832/Applio') as iface:
268
  gr.Image("Image.jpg", width=750, height=300, show_label=False, show_download_button=False)
269
+ gr.Markdown("# Mawared HR Assistant 2.7 Pre-Release")
270
+ gr.Markdown('### Patch Notes')
271
+ gr.Markdown("""
272
+ 1-Fixed Api Issues.
273
+
274
+ 2-Better Search Algorithm
275
+
276
+ 3-Now when asked a question, Agent will rewrite the question to enhance it based on its context and user intent and sentiment analysis.
277
+
278
+ 4-It will use chain-of-thought reasoning to break down the question to many sub-Questions to answer them better and easier.
279
+
280
+ 5-Model is prone to mistakes and hallucinations.
281
+
282
+ **WARNING:** MODEL IS HIGHLY INTELLIGENT AND IS PRONE TO OVERTHINKING, ANXIETY, TEXT LOOP AND SELF DOUBT.
283
+ IF THAT HAPPENS PLEASE REPORT IT.
284
+ Lastly, happy bugging :] .
285
+ """)
286
 
287
  chatbot = gr.Chatbot(
288
  height=750,