Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ llm = ChatOpenAI(model="gpt-4", temperature=0)
|
|
| 44 |
|
| 45 |
# System message
|
| 46 |
sys_msg = SystemMessage(
|
| 47 |
-
content="You are a precise and silent agent. Return only the final answer in lowercase. Never include explanations or restate the question.
|
| 48 |
)
|
| 49 |
|
| 50 |
def assistant(state: MessagesState):
|
|
|
|
| 44 |
|
| 45 |
# System message
|
| 46 |
sys_msg = SystemMessage(
|
| 47 |
+
content="You are a precise and silent agent. Return only the final answer in lowercase. Never include explanations or restate the question. content="Answer with only the final response. Use lowercase, no punctuation, and avoid explanation. If unsure, guess based on the context."
|
| 48 |
)
|
| 49 |
|
| 50 |
def assistant(state: MessagesState):
|