Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ with gr.Blocks() as set_api_key:
|
|
9 |
"""
|
10 |
# Welcome to OntoChat! π
|
11 |
|
12 |
-
Hi there! I'm OntoChat, your conversational assistant for
|
13 |
"""
|
14 |
)
|
15 |
|
@@ -34,7 +34,7 @@ with gr.Blocks() as user_story_interface:
|
|
34 |
user_story_chatbot = gr.Chatbot(
|
35 |
value=[
|
36 |
{"role": "assistant", "content": (
|
37 |
-
"Hello! I'm OntoChat π. I'll help you create an ontology user story!\n\n 1. I will ask you one **elicitation question** at a time, present an **example answer** to support your understanding, and recommend a **prompt template** π for answering.\n\n 2. Don't worry about promptingβfind the **template** π I recommended and edit the **placeholders** π to craft an effective response π.\n\n 3. Within a prompt template:\n - **\*\*[]\*\*** placeholders are **mandatory**.\n - **\*[]\*** placeholders are **optional**.\n\n 4. I will **refine** my generation iteratively based on your input π until you are satisfied β
.\n\nLet's get started! **
|
38 |
)}
|
39 |
],
|
40 |
height="472px",
|
|
|
9 |
"""
|
10 |
# Welcome to OntoChat! π
|
11 |
|
12 |
+
Hi there! I'm OntoChat, your conversational assistant for ontology-based system requirements engineering. (1) π I assist with ontology requirements elicitation by asking targeted questions, collecting user inputs, providing example answers, and recommending prompt templates to guide you. (2) π I offer customizable prompts designed for different interaction stages, ensuring structured guidance throughout the process. (3) βοΈ You can edit placeholders within these templates to refine constraints and shape my responses to fit your specific needs. (4) π I continuously improve my responses based on your feedback until you're satisfied. Let's make ontology-based system development smoother and more interactive! π For more details, visit π [OntoChat on GitHub](https://github.com/King-s-Knowledge-Graph-Lab/OntoChat).
|
13 |
"""
|
14 |
)
|
15 |
|
|
|
34 |
user_story_chatbot = gr.Chatbot(
|
35 |
value=[
|
36 |
{"role": "assistant", "content": (
|
37 |
+
"Hello! I'm OntoChat π. I'll help you create an ontology user story!\n\n 1. I will ask you one **elicitation question** at a time, present an **example answer** to support your understanding, and recommend a **prompt template** π for answering.\n\n 2. Don't worry about promptingβfind the **template** π I recommended and edit the **placeholders** π to craft an effective response π.\n\n 3. Within a prompt template:\n - **\*\*[]\*\*** placeholders are **mandatory**.\n - **\*[]\*** placeholders are **optional**.\n\n 4. I will **refine** my generation iteratively based on your input π until you are satisfied β
.\n\nLet's get started! **What is the domain for which this ontology-based system is designed?**\n\n**For example:** *Healthcare, Wine, Music, etc.*\n\nUse template **[Create Domain]** to answer. π"
|
38 |
)}
|
39 |
],
|
40 |
height="472px",
|