Spaces:
Sleeping
Sleeping
Update chatbot.py
Browse files- chatbot.py +12 -1
chatbot.py
CHANGED
|
@@ -26,7 +26,18 @@ class InnovativeIdeaChatbot:
|
|
| 26 |
self.db.close()
|
| 27 |
|
| 28 |
def get_initial_greeting(self) -> str:
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
def add_system_message(self, message: str):
|
| 32 |
self.chat_history.append(("System", message))
|
|
|
|
| 26 |
self.db.close()
|
| 27 |
|
| 28 |
def get_initial_greeting(self) -> str:
|
| 29 |
+
greeting = """
|
| 30 |
+
Welcome to the Innovative Idea Generator! I'm Myamoto, your AI assistant designed to help you refine and develop your innovative ideas.
|
| 31 |
+
Here's how we'll work together:
|
| 32 |
+
1. We'll go through 10 stages to explore different aspects of your idea.
|
| 33 |
+
2. At each stage, I'll ask you questions and provide feedback to help you think deeper about your concept.
|
| 34 |
+
3. You can ask me questions at any time or request more information on a topic.
|
| 35 |
+
4. If you want to perform a web search for additional information, just start your message with '@' followed by your search query.
|
| 36 |
+
5. When you're ready to move to the next stage, simply type 'next'.
|
| 37 |
+
Let's start by exploring your innovative idea! What's the name of your idea, or would you like help coming up with one?
|
| 38 |
+
"""
|
| 39 |
+
self.greeted = True
|
| 40 |
+
return greeting
|
| 41 |
|
| 42 |
def add_system_message(self, message: str):
|
| 43 |
self.chat_history.append(("System", message))
|