Spaces:
Sleeping
Sleeping
Nils Durner
commited on
Commit
·
22441f4
1
Parent(s):
6cd005a
default prompt
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ with gr.Blocks() as demo:
|
|
122 |
model = gr.Dropdown(label="Model", value="anthropic.claude-3-sonnet-20240229-v1:0", allow_custom_value=True, elem_id="model",
|
123 |
choices=["anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0", "anthropic.claude-v2:1", "anthropic.claude-v2",
|
124 |
"mistral.mistral-7b-instruct-v0:2", "mistral.mixtral-8x7b-instruct-v0:1", "mistral.mistral-large-2402-v1:0"])
|
125 |
-
system_prompt = gr.TextArea("You are a helpful AI.", label="System Prompt", lines=3, max_lines=250, elem_id="system_prompt")
|
126 |
region = gr.Dropdown(label="Region", value="eu-west-3", allow_custom_value=True, elem_id="region",
|
127 |
choices=["eu-central-1", "eu-west-3", "us-east-1", "us-west-1"])
|
128 |
temp = gr.Slider(0, 1, label="Temperature", elem_id="temp", value=1)
|
|
|
122 |
model = gr.Dropdown(label="Model", value="anthropic.claude-3-sonnet-20240229-v1:0", allow_custom_value=True, elem_id="model",
|
123 |
choices=["anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0", "anthropic.claude-v2:1", "anthropic.claude-v2",
|
124 |
"mistral.mistral-7b-instruct-v0:2", "mistral.mixtral-8x7b-instruct-v0:1", "mistral.mistral-large-2402-v1:0"])
|
125 |
+
system_prompt = gr.TextArea("You are a helpful yet diligent AI assistant. Answer faithfully and factually correct. Respond with 'I do not know' if uncertain.", label="System Prompt", lines=3, max_lines=250, elem_id="system_prompt")
|
126 |
region = gr.Dropdown(label="Region", value="eu-west-3", allow_custom_value=True, elem_id="region",
|
127 |
choices=["eu-central-1", "eu-west-3", "us-east-1", "us-west-1"])
|
128 |
temp = gr.Slider(0, 1, label="Temperature", elem_id="temp", value=1)
|