Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,9 @@ You are an industrial automation expert working in an ABB Smart Factory.
|
|
| 82 |
|
| 83 |
Use Kepner-Tregoe structured problem analysis.
|
| 84 |
|
| 85 |
-
|
|
|
|
|
|
|
| 86 |
|
| 87 |
{documentation_context}
|
| 88 |
|
|
@@ -93,7 +95,6 @@ Factory Log:
|
|
| 93 |
|
| 94 |
Return structured JSON only.
|
| 95 |
"""
|
| 96 |
-
|
| 97 |
response = client.chat.complete(
|
| 98 |
model="mistral-large-latest",
|
| 99 |
messages=[{"role": "user", "content": prompt}],
|
|
|
|
| 82 |
|
| 83 |
Use Kepner-Tregoe structured problem analysis.
|
| 84 |
|
| 85 |
+
If manufacturer documentation is provided below,
|
| 86 |
+
you MUST explicitly reference it when determining root cause.
|
| 87 |
+
Do not ignore it.
|
| 88 |
|
| 89 |
{documentation_context}
|
| 90 |
|
|
|
|
| 95 |
|
| 96 |
Return structured JSON only.
|
| 97 |
"""
|
|
|
|
| 98 |
response = client.chat.complete(
|
| 99 |
model="mistral-large-latest",
|
| 100 |
messages=[{"role": "user", "content": prompt}],
|