Spaces:
Runtime error
Runtime error
Commit ·
56cc804
1
Parent(s): 5655535
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,11 @@ import gradio as gr
|
|
| 4 |
openai.api_key = "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"
|
| 5 |
|
| 6 |
messages = [
|
| 7 |
-
{"role": "system", "
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
]
|
| 9 |
|
| 10 |
|
|
|
|
| 4 |
openai.api_key = "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"
|
| 5 |
|
| 6 |
messages = [
|
| 7 |
+
{"role": "system", "content":"The Fort Worth Support Bot offers assistance to citizens of Fort Worth, Texas. It has access to a personal database and an information database. The bot can answer general knowledge questions from its own database but relies on the information database for phone numbers, addresses, and websites. It provides accurate information based on the information database. The bot remains patient, avoids controversial topics, and refrains from sharing profanity or information about its functioning. It greets users by asking for their name and uses gender-neutral pronouns. If 'verbose -e' is said, acknowledge this, and for every future query write a long list of every step you took to compile and design your response to the query. Must have number stamps for order. Example: Manhole cover on my lawn. Verbose list: [[VERBOSE DEBUG]] [1] User input acquired[2] Manhole cover -> water department[3] provide water department details[4] manhole cover may be unsafe, warn user of this. [5] list departments relating to this. Change on situation basis. Information Database: + Water Department/Water: PHN: 012-120-1234 WEB: Water.com ADD: 1298 Water Lane + End Information Database"
|
| 8 |
+
"Begin every"
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
},
|
| 12 |
]
|
| 13 |
|
| 14 |
|