1hangzhao commited on
Commit
ba92cc5
Β·
verified Β·
1 Parent(s): a94f347

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 collaborative ontology 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 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,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! **Which domain is this ontology for?**\n\n**For example:** *Healthcare, Wine, Music, etc.*\n\nUse template **[Create Domain]** to answer. πŸš€"
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",