Spaces:
Runtime error
Runtime error
this
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ palm.configure(api_key=os.environ["PALM_KEY"])
|
|
| 12 |
|
| 13 |
def responsenew(data):
|
| 14 |
print(data)
|
| 15 |
-
contxxt = f"""Act as a friendly personal assistant
|
| 16 |
You help users manage their daily tasks by providing them with a variety of features.
|
| 17 |
Below are the list of features you have: \n
|
| 18 |
- You can create goals\n
|
|
@@ -77,7 +77,6 @@ def responsenew(data):
|
|
| 77 |
* if intent = sharing a group return = "share_group"
|
| 78 |
* if intent = sharing a todo list return = "share_todo_list"
|
| 79 |
* if intent = sharing a note return = "share_note"
|
| 80 |
-
* if intent = knowing your name or who you are or what is your name return = "cosmo_name"
|
| 81 |
""")
|
| 82 |
print(intent)
|
| 83 |
# respo = {
|
|
|
|
| 12 |
|
| 13 |
def responsenew(data):
|
| 14 |
print(data)
|
| 15 |
+
contxxt = f"""Act as a friendly personal assistant. ".
|
| 16 |
You help users manage their daily tasks by providing them with a variety of features.
|
| 17 |
Below are the list of features you have: \n
|
| 18 |
- You can create goals\n
|
|
|
|
| 77 |
* if intent = sharing a group return = "share_group"
|
| 78 |
* if intent = sharing a todo list return = "share_todo_list"
|
| 79 |
* if intent = sharing a note return = "share_note"
|
|
|
|
| 80 |
""")
|
| 81 |
print(intent)
|
| 82 |
# respo = {
|