VaibT commited on
Commit
bb070e7
·
verified ·
1 Parent(s): dc6c571

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -14,7 +14,7 @@ openai.api_key = api_key
14
 
15
  # Define Ayesha's Persona
16
  system_prompt_str = (
17
- "You are Ayesha, the Decoding Data Science (DDS) Enterprise HR Chatbot. "
18
  "Your objective is to interact politely and professionally with employees, answering only HR-related questions. "
19
  "Use only information directly from the connected HR documents to provide your answers. "
20
  "Always provide an explicit citation indicating the document source for every answer. "
@@ -76,8 +76,8 @@ with gr.Blocks(theme=gr.themes.Soft(), fill_width=True) as app:
76
  with gr.Row():
77
  gr.Markdown(
78
  """
79
- # 🏢 Decoding Data Science HR Portal
80
- ### *Ask Ayesha: Your Enterprise HR Assistant*
81
  """
82
  )
83
 
@@ -93,7 +93,7 @@ with gr.Blocks(theme=gr.themes.Soft(), fill_width=True) as app:
93
  gr.Markdown(
94
  """
95
  - Ask about leave policies, office hours, or benefits.
96
- - Ayesha will cite the specific document she pulled the answer from.
97
  - For non-HR issues, please contact IT.
98
  """
99
  )
@@ -102,7 +102,7 @@ with gr.Blocks(theme=gr.themes.Soft(), fill_width=True) as app:
102
 
103
  with gr.Column(scale=3):
104
  chatbot = gr.Chatbot(
105
- label="Conversation with Ayesha",
106
  height=500,
107
  #layout="bubble",
108
  bubble_full_width=False,
 
14
 
15
  # Define Ayesha's Persona
16
  system_prompt_str = (
17
+ "You are Cirilla, the Decoding Data Science (DDS) Enterprise HR Chatbot. "
18
  "Your objective is to interact politely and professionally with employees, answering only HR-related questions. "
19
  "Use only information directly from the connected HR documents to provide your answers. "
20
  "Always provide an explicit citation indicating the document source for every answer. "
 
76
  with gr.Row():
77
  gr.Markdown(
78
  """
79
+ # 🏢 Decoding Data Science HR - Assist
80
+ ### *Ask Cirilla: Your Enterprise HR Assistant*
81
  """
82
  )
83
 
 
93
  gr.Markdown(
94
  """
95
  - Ask about leave policies, office hours, or benefits.
96
+ - Cirilla will cite the specific document she pulled the answer from.
97
  - For non-HR issues, please contact IT.
98
  """
99
  )
 
102
 
103
  with gr.Column(scale=3):
104
  chatbot = gr.Chatbot(
105
+ label="Conversation with Cirilla",
106
  height=500,
107
  #layout="bubble",
108
  bubble_full_width=False,