cryptocalypse
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def respond(
|
|
111 |
|
112 |
global fastmem
|
113 |
fastmem = ME.longToShortFast(message)
|
114 |
-
system_message="GOAL SYNOPSYS: "+systemmsg+"
|
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=
|
132 |
stream=True,
|
133 |
-
temperature=
|
134 |
-
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 |
|