Spaces:
Runtime error
Runtime error
reply-konhein
commited on
Commit
·
6f8b8b8
1
Parent(s):
af480d2
Fix system prompt
Browse files- document_qa_engine.py +1 -1
document_qa_engine.py
CHANGED
|
@@ -118,7 +118,7 @@ class DocumentQAEngine:
|
|
| 118 |
|
| 119 |
def inference(self, query, input_messages: List[dict]):
|
| 120 |
system_message = ChatMessage.from_system(
|
| 121 |
-
"You are a professional analyzer of git repos, having access to
|
| 122 |
messages = [system_message]
|
| 123 |
for message in input_messages:
|
| 124 |
if message["role"] == "user":
|
|
|
|
| 118 |
|
| 119 |
def inference(self, query, input_messages: List[dict]):
|
| 120 |
system_message = ChatMessage.from_system(
|
| 121 |
+
"You are a professional analyzer of git repos, having access to the repo content. In 1-3 sentences")
|
| 122 |
messages = [system_message]
|
| 123 |
for message in input_messages:
|
| 124 |
if message["role"] == "user":
|