patopla commited on
Commit
ac30430
·
verified ·
1 Parent(s): dcc14cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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. For example: just return 'right', '5', or 'extremely'."
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):