debisoft commited on
Commit
9e2ad76
·
1 Parent(s): c5acf4e
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -124,7 +124,7 @@ def send(msg:str, messages:list[str]=None):
124
  if not messages: messages = []
125
  messages.append(msg.rstrip())
126
  print(messages[0])
127
- post_append_str = ' Return as JSON with GeoLocation'
128
  r = get_completion(messages[0] + post_append_str) # get response from chat model
129
  return (ChatMessage(msg, True), # The user's message
130
  ChatMessage(r.rstrip(), False), # The chatbot's response
 
124
  if not messages: messages = []
125
  messages.append(msg.rstrip())
126
  print(messages[0])
127
+ post_append_str = ' Return as JSON with GeoLocation'
128
  r = get_completion(messages[0] + post_append_str) # get response from chat model
129
  return (ChatMessage(msg, True), # The user's message
130
  ChatMessage(r.rstrip(), False), # The chatbot's response