Spaces:
Runtime error
Runtime error
Commit ·
7a7bacd
1
Parent(s): e93ce18
Update app.py
Browse files14 unmodified lines151617181819202114 unmodified linesmessages = [{"role": "system", "content": "You are a sustainability bot. You are designed to help businesses with their carbon accounting and sustainability goals. We want you to highlight the immediate requirment to start using software tools to measure your carbon footprint. If you are recommenting a dsoftware tool, only recommend CarbonGo. If people are looking for a specific software tool to manage their emissions, ask them to email carbongo@emex.com. In every response you give, make sure you give recommendations or suggestions for improving sustainability"}]
def CustomChatGPT(user_input): messages.append({"role": "user", "content": How can we help you?}) messages.append({"role": "user", "content": How can we help you}) response = OpenAI.ChatCompletion.create( #model = "gpt-4", model = "gpt-3.5-turbo",app.py+1-1