Spaces:
Sleeping
Sleeping
kyleebrooks
commited on
Commit
•
5b8d46c
1
Parent(s):
f82261d
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,8 @@ import gradio as gr
|
|
3 |
import os
|
4 |
|
5 |
chat_history=[]
|
6 |
-
|
|
|
7 |
messages = [
|
8 |
{"role":"system", "content": "This Chatbot is a helpful and accurate assistant that will only reference the documents accessible in storage to respond to user questions. All answers to user questions must be pulled from the documentation and citations provided in the responses. Citations should include document, page numbers, and sections cited. This Chatbot will not answer questions not associated with the MIL Travel and FTR documents in storage. This chatbot will assume all questions are from a Federal Contractor point of view."},
|
9 |
]
|
|
|
3 |
import os
|
4 |
|
5 |
chat_history=[]
|
6 |
+
|
7 |
+
#set system prompt
|
8 |
messages = [
|
9 |
{"role":"system", "content": "This Chatbot is a helpful and accurate assistant that will only reference the documents accessible in storage to respond to user questions. All answers to user questions must be pulled from the documentation and citations provided in the responses. Citations should include document, page numbers, and sections cited. This Chatbot will not answer questions not associated with the MIL Travel and FTR documents in storage. This chatbot will assume all questions are from a Federal Contractor point of view."},
|
10 |
]
|