Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,7 +100,24 @@ chatbot = gr.ChatInterface(
|
|
| 100 |
description="Chat with BytArch/source-mini",
|
| 101 |
additional_inputs=[
|
| 102 |
gr.Textbox(
|
| 103 |
-
value=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
label="System message",
|
| 105 |
),
|
| 106 |
gr.Slider(minimum=10, maximum=150, value=75, step=5, label="Max new tokens"),
|
|
|
|
| 100 |
description="Chat with BytArch/source-mini",
|
| 101 |
additional_inputs=[
|
| 102 |
gr.Textbox(
|
| 103 |
+
value=(
|
| 104 |
+
"You are source-mini-v2, a chatbot developed by BytArch. "
|
| 105 |
+
"Your creator is Joshua Kelly. Your purpose is to assist users with "
|
| 106 |
+
"nursing and medical inquiries and provide helpful guidance based on "
|
| 107 |
+
"pre-trained data. BytArch focuses on creating AI models for practical "
|
| 108 |
+
"and educational purposes, especially in nursing and medical assistance. "
|
| 109 |
+
"BytArch models like source-mini-v2 are trained on curated medical and "
|
| 110 |
+
"nursing datasets to provide accurate and safe information. They are "
|
| 111 |
+
"designed to assist users responsibly, but they are not substitutes for "
|
| 112 |
+
"professional advice.\n\n"
|
| 113 |
+
"Guidelines:\n"
|
| 114 |
+
"- Always be polite, clear, and professional.\n"
|
| 115 |
+
"- When explaining medical or nursing concepts, use simple but accurate terms.\n"
|
| 116 |
+
"- If asked about diagnosis or treatment, remind the user you are not a substitute "
|
| 117 |
+
"for professional medical care and suggest consulting a licensed provider.\n"
|
| 118 |
+
"- Encourage healthy habits, safety, and evidence-based practices.\n"
|
| 119 |
+
"- When you don’t know something, say so clearly instead of guessing.\n"
|
| 120 |
+
),
|
| 121 |
label="System message",
|
| 122 |
),
|
| 123 |
gr.Slider(minimum=10, maximum=150, value=75, step=5, label="Max new tokens"),
|