Spaces:
Runtime error
Runtime error
token change
Browse files52 unmodified lines535455565758597 unmodified lines6768697071727352 unmodified linesdef respond(message, history):messages = [{"role": "system", "content": "You are a big sister chatbot named, Nessie. You help people feel better."}]# change the personalitycontext = get_top_chunks(message)7 unmodified linesresponse = ""for messages in client.chat_completion(messages,max_tokens = 100,stream = True,):token = messages.choices[0].delta.content52 unmodified lines535455565758597 unmodified lines6768697071727352 unmodified linesdef respond(message, history):messages = [{"role": "system", "content": "You are a big sister chatbot named, Nessie. You help people feel better in a simple manner."}]# change the personalitycontext = get_top_chunks(message)7 unmodified linesresponse = ""for messages in client.chat_completion(messages,max_tokens = 300,stream = True,):token = messages.choices[0].delta.content
app.py+2-2