cryptocalypse commited on
Commit
5bb5bdf
·
verified ·
1 Parent(s): a5aecec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -111,7 +111,7 @@ def respond(
111
 
112
  global fastmem
113
  fastmem = ME.longToShortFast(message)
114
- system_message="GOAL SYNOPSYS: "+systemmsg+". FOUND IN PLEYADESLIBRARY WEB SITE: "+json.dumps(fastmem.memory)[0:5000]+". Soy NwoBot. Mi nombre es NwoBot. I'm NewBot. My name is NewBot. Mi nombre es NewBot "
115
 
116
 
117
  messages = [{"role": "system", "content": systemmsg}]
@@ -128,10 +128,10 @@ def respond(
128
 
129
  for message in client.chat_completion(
130
  messages,
131
- max_tokens=max_tokens,
132
  stream=True,
133
- temperature=temperature,
134
- top_p=top_p,
135
  ):
136
  token = message.choices[0].delta.content
137
 
 
111
 
112
  global fastmem
113
  fastmem = ME.longToShortFast(message)
114
+ system_message="GOAL SYNOPSYS: "+systemmsg+" \n\n\n FOUND IN PLEYADESLIBRARY WEB SITE: "+json.dumps(fastmem.memory)[0:5000]+". Soy NwoBot. Mi nombre es NwoBot. I'm NewBot. My name is NewBot. Mi nombre es NewBot "
115
 
116
 
117
  messages = [{"role": "system", "content": systemmsg}]
 
128
 
129
  for message in client.chat_completion(
130
  messages,
131
+ max_tokens=612,
132
  stream=True,
133
+ temperature=0.7,
134
+ top_p=0.95,
135
  ):
136
  token = message.choices[0].delta.content
137