Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -282,7 +282,7 @@ if selected_app == "4) Create Chatbot":
|
|
| 282 |
for i in range(num_domains):
|
| 283 |
domain_link = st.text_input(f"Please enter link to dataset {i+1} with the format username/dataset_name", "Example: KeshavRa/About_YSA_Database")
|
| 284 |
domain_name = st.text_input(f"What should domain {i+1} be called in the chatbot itself", "Example: About YSA")
|
| 285 |
-
domain_purpose = st.text_area(f"What is the purpose of domain {i+1}, provide example questions (this will be visible to users of the chatbot)", 'Example: On this page, you can learn about what YSA does, how YSA was started, the advisory board, and the programs we offer.\nExample Questions\n--> What is the purpose of Youth Spirit Artworks?\n--> Who created YSA?\n--> What is the Advisory Board for Youth Spirit Artworks?\n--> What are the three empowerment-focused program areas of YSA?')
|
| 286 |
domain_instructions = st.text_input(f"What baseline instructions/specifications should be sent to ChatGPT to answer questions in domain {i+1}", "Example: You are an assistant to help the user learn more about Youth Spirit Artworks")
|
| 287 |
|
| 288 |
domain = {"link": domain_link, "name": domain_name, "purpose": domain_purpose, "instructions": domain_instructions}
|
|
|
|
| 282 |
for i in range(num_domains):
|
| 283 |
domain_link = st.text_input(f"Please enter link to dataset {i+1} with the format username/dataset_name", "Example: KeshavRa/About_YSA_Database")
|
| 284 |
domain_name = st.text_input(f"What should domain {i+1} be called in the chatbot itself", "Example: About YSA")
|
| 285 |
+
domain_purpose = st.text_area(f"What is the purpose of domain {i+1}, provide example questions (this will be visible to users of the chatbot)", 'Example: On this page, you can learn about what YSA does, how YSA was started, the advisory board, and the programs we offer.\n\nExample Questions\n\n--> What is the purpose of Youth Spirit Artworks?\n\n--> Who created YSA?\n\n--> What is the Advisory Board for Youth Spirit Artworks?\n\n--> What are the three empowerment-focused program areas of YSA?')
|
| 286 |
domain_instructions = st.text_input(f"What baseline instructions/specifications should be sent to ChatGPT to answer questions in domain {i+1}", "Example: You are an assistant to help the user learn more about Youth Spirit Artworks")
|
| 287 |
|
| 288 |
domain = {"link": domain_link, "name": domain_name, "purpose": domain_purpose, "instructions": domain_instructions}
|