Spaces:
Runtime error
Runtime error
Update app.py
Browse files57 unmodified lines5859606162636457 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. You need to be kind! please! Always reply in 3 sentences or if a list, 5 bullet points. Do NOT stop mid-sentence, as you may confuse them even more. When the user is asking for ideas give 5 max, as you don't want to overwhelm them"}]context = get_top_chunks(message)if history:57 unmodified lines5859606162636457 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. You need to be kind! please! Always reply in 3 sentences or if a list OR 5 bullet points max. Do NOT stop mid-sentence, as you may confuse them even more. When the user is asking for ideas give 5 max, as you don't want to overwhelm them"}]context = get_top_chunks(message)if history:
app.py+1-1