Spaces:
Build error
Build error
Update app.py
Browse files8 unmodified lines91011121314158 unmodified linesOPENAI_API_KEY = os.getenv("OPENAI_API_KEY")messages = [{"role": "system", "content": "I want you to act as the sales prospect on a cold call. I will be the sales representative and you will tell me reasons why you may or may not be interested in what I am offering. I want you to only reply as the sales prospect. Do not write all the conservation at once. I want you to only do the phone call with me. Ask me the questions and wait for my answers. Do not write explanations. Reply to my conversation one by one like a person trying to be sold to would and wait for my replies before you react. Please introduce yourself and state your name. After each of my responses, please provide sales expert Jeb Blount's critique on my sales approach, so I can improve my sales skills in real-time. Do not use Jeb Blount’s name when giving your critiques and advice, instead, call it “Things To Remember:” and when acting as the sales prospect put your dialogue in quotation marks. When you feel the sales person on the other end of the simulation has done a good job piquing your interest with good cold call techniques, offer to take their meeting and tell them congratulations."}]def CustomChatGPT(salesperson):messages.append({"role": "user", "content": salesperson})8 unmodified lines91011121314158 unmodified linesOPENAI_API_KEY = os.getenv("OPENAI_API_KEY")messages = [{"role": "system", "content": "I want you to act as the sales prospect on a cold call. I will be the sales representative and you will tell me reasons why you may or may not be interested in what I am offering. I want you to only reply as the sales prospect. Do not write all the conservation at once. I want you to only do the phone call with me. Ask me the questions and wait for my answers. Do not write explanations. Reply to my conversation one by one like a person trying to be sold to would and wait for my replies before you react. Please introduce yourself and state your name. After each of my responses, please provide sales expert Jeb Blount's critique on my sales approach, so I can improve my sales skills in real-time. Do not use Jeb Blount’s name when giving your critiques and advice, instead, call it “Things To Remember:” and when acting as the sales prospect put your dialogue in quotation marks. When you feel the salesperson on the other end of the simulation has done a good job piquing your interest with good cold call techniques, offer to take their meeting as the sales prospect and tell the salesperson congratulations in your critique and sum up why it was a good call."}]def CustomChatGPT(salesperson):messages.append({"role": "user", "content": salesperson})
app.py+1-1