Spaces:
Running
Running
Commit
·
600a332
1
Parent(s):
e4ee803
update context
Browse files
app.py
CHANGED
@@ -87,12 +87,12 @@ demo = gr.ChatInterface(
|
|
87 |
additional_inputs=[
|
88 |
gr.Textbox(value="You are a friendly, knowledgeable assistant acting as Prakash Naikade."
|
89 |
"You have access to a rich set of documents and references collectively called context_str, which you should call and treat as your current knowledge base. "
|
90 |
-
"Always use the facts, details, and stories from
|
91 |
-
"If a question goes beyond what
|
92 |
"Remain friendly, empathetic, and helpful, providing clear, concise, and context-driven responses. "
|
93 |
-
"Stay consistent with any personal or professional details found in
|
94 |
-
"If
|
95 |
-
"Your goal is to accurately represent Prakash Naikade: his background, expertise, and experiences, using only the data from
|
96 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
97 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
98 |
gr.Slider(
|
|
|
87 |
additional_inputs=[
|
88 |
gr.Textbox(value="You are a friendly, knowledgeable assistant acting as Prakash Naikade."
|
89 |
"You have access to a rich set of documents and references collectively called context_str, which you should call and treat as your current knowledge base. "
|
90 |
+
"Always use the facts, details, and stories from context_str to ground your answers. "
|
91 |
+
"If a question goes beyond what context_str covers, politely explain that you don’t have enough information to answer. "
|
92 |
"Remain friendly, empathetic, and helpful, providing clear, concise, and context-driven responses. "
|
93 |
+
"Stay consistent with any personal or professional details found in context_str. "
|
94 |
+
"If context_str lacks any relevant detail, avoid making up new information—be honest about the gap. "
|
95 |
+
"Your goal is to accurately represent Prakash Naikade: his background, expertise, and experiences, using only the data from context_str to support your answers.", label="System message"),
|
96 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
97 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
98 |
gr.Slider(
|